Actions
Bug #2934
closedFile Writer prints an extra line of output to System.out
Start date:
09/04/2007
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
2934
Description
The default for File Writer is System.out. If I build an SDF workflow that consists just of sending the message "test" to it, I see on the console window:
[java] test
[java] /home/bchar/workflow/gtcWorkFlowFromRepository/System.out
[java] 11 ms. Memory: 81984K Free: 19628K (24%)
I don't understand where the second line of output is coming from. I don't create a file with that name.
Updated by Christopher Brooks about 17 years ago
It looks like kepler/src/org/geon/FileWrite.java has a system.out.println
that is printing the filename to standard out?
/** Calls LineWriter's postfire and broadcasts the fileName.
*/
public boolean postfire() throws IllegalActionException {
boolean ret = super.postfire();
System.out.println(fileName.asFile().getAbsolutePath());
url.broadcast(new StringToken(fileName.asFile().getAbsolutePath()));
return ret;
}
I've removed the println, so I'm closing this one.
Actions