DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16555>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16555 Java task used with output attribute looses last output line if the line does not end with \r\n. Summary: Java task used with output attribute looses last output line if the line does not end with \r\n. Product: Ant Version: 1.5.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Java task used with output attribute looses last output line if the line does not end with \r\n. Example: <target name="test" depends="init"> <java classname="com.sergiu.utils.test00" classpathref="run.classpath" output="${tmp}/run.test00"> </java> <loadfile property="LOADED.PROP" srcFile="${tmp}/run.test00"/> <echoproperties/> </target> package com.sergiu.utils; public class test00 { public static void main(String[] args) { System.out.println("this is line 00"); System.out.println("this is line 01"); System.out.print("this is line 02"); } } $ cat var/tmp/run.test00 this is line 00 this is line 01 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]