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=22647>. 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=22647 File created by java output attribute is wrapped at 1024 characters Summary: File created by java output attribute is wrapped at 1024 characters Product: Ant Version: 1.5.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The file specified by the output attribute of the java task wraps at 1024 characters when the output from the java task contains line longer than 1024 characters. i.e. --- Test.java --- public class Test { /** * This program should output a single line of text 2048 character long. */ static public void main(String[] args) throws Exception { for (int i = 0; i < 2048; i++) { System.out.print("" + (i % 10)); } System.out.println(); } } --- build.xml --- <?xml version="1.0"?> <project name="test" default="all"> <target name="all"> <javac srcdir="." includes="Test.java"/> <java classname="Test" classpath="." output="Test.out"/> </target> </project> --- The file, Test.out, contains two lines of output even though it should only have the one. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]