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=29113>. 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=29113 Messages with empty body of priority warn written to (xml)log Summary: Messages with empty body of priority warn written to (xml)log Product: Ant Version: 1.6.1 Platform: PC OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] After running Ant, there are empty messages with priority warn written to the xml log, for example for the Javadoc task: <message priority="warn"><![CDATA[]]></message> Tools that parse the buildlog to count warnings/errors can think there are warnings during the build, while in fact this is not the case. While it shouldn't be to hard to write the parser to skip warn messages with empty body, these shouldn't be written to the log. Looking at the source in Javadoc.java, I would think(guess) these warn messages are written because the error output is written to such a message, but there is no error output: JavadocOutputStream err = new JavadocOutputStream(Project.MSG_WARN); So in the case there is nothing written to this stream, there should be no message written to the log. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]