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=41596>. 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=41596 Summary: ant 1.7 tar and bzip2 tasks corrupted output file when size exceeds certain limit Product: Ant Version: 1.7.0 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Description: Ant tar task with bzip2 compression option or ant bzip2 task generates corrupted output for filesize of roughly 170+MB (before compression). This problem occurs with ant version 1.7 installed in 12/06. Tested on linux with both jdk 1.5 and jdk 1.6 Work around: replace <tar compress=bzip2..> or <bzip2 ..> with 2 steps: <tar ..> and <exec ...bzip2> For example, Replace this: <bzip2 src="${out.file}.dmp.tar" destfile="${out.file}.dmp.tar.bz2"> <tarfileset dir="${dumps.dir}"> <include name="${dist.schema}.dmp"/> </tarfileset> </bzip2> Or this: <tar destfile="${out.file}.dmp.tar" compression="bzip2"> <tarfileset dir="${dumps.dir}"> <include name="${dist.schema}.dmp"/> </tarfileset> </tar> With: <tar destfile="${out.file}.dmp.tar"> <tarfileset dir="${dumps.dir}"> <include name="${dist.schema}.dmp"/> </tarfileset> </tar> <exec dir="${dumps.dir}" executable="bzip2"> <arg value="${out.file}.dmp.tar"/> </exec> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]