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 ------- Additional Comments From [EMAIL PROTECTED] 2007-04-26 08:52 ------- (In reply to comment #0) > 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> (In reply to comment #3) > I can't attach the testcase, since its compressed size (1.4M) exceeds the > bugzilla limit for uploads. Does anyone have a server where I can upload and > link it? I believe it's the content specific. However I couldn't upload our data because it's confidential. Your testcase is crucial in this case. Hopefully ant developers will contact you to get your testcase. -- 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]