DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28206>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28206 Ant 1.6.1: LogOutputStream.flush writes blank lines to console Summary: Ant 1.6.1: LogOutputStream.flush writes blank lines to console Product: Ant Version: 1.6.1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] While using Apply/ExecOn task that operates sequentially on more than 100 files, we notice that the task prints 2 blank lines per apply execution, thus resulting in many pages of blank lines, although the build goes through fine. The problem may be on line 98 of org.apache.tools.ant.taskdefs.LogOutputStream that tries to process a line from the buffer (which has not been written to - but still results in an empty string), which results in a blank line getting echoed on the console. Since LogOutputStream is created for both stdout and stderr, invoking flush on both those cause 1 blank each. Alternatively, the BuildListener needs to be smart to ignore these blank lines. The same build.xml works fine (no extraneous blank lines) with ant 1.4.1 and 1.5.4 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]