Project

General

Profile

Actions

Bug #2934

closed

File Writer prints an extra line of output to System.out

Added by Bruce Char about 17 years ago. Updated about 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
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.

Actions #1

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 #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2934

Actions

Also available in: Atom PDF