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=34241>. 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=34241 Summary: tar task fails when fileset contains large file (>=2GB) Product: Ant Version: 1.6.2 Platform: HP OS/Version: Linux Status: NEW Severity: blocker Priority: P1 Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following XML in build.xml, produces the error at the end of this description. A file that is 2.5GB large is in the path that the tar is working on. If an <exclude> element is created for the specific file, and all the rest of the files are <2GB, the tar succeeds. Ant 1.6.2 executing on RHAS 2.1 on HP intel hardware (DL380). Also, gnutar successfully builds this tar file. Trying to build an exec command to execute the guntar but the syntax escapes me. <target name="packvar" description="tar and gzip the var directory for install into other phases"> <echo message="Beginning packvar..."/> <echo message="Removing Existing tar File"/> <delete file="${rds.tars}/rdsvar.tar.gz"/> <echo message="Creating New tar File"/> <tar destfile="${rds.tars}/rdsvar.tar.gz" compression="gzip" longfile="gnu"> <tarfileset dir="${rds.var}"> <exclude name="**/.*"/> <include name="**"/> </tarfileset> </tar> [...]$ ant packvar Buildfile: build.xml packvar: [echo] Beginning packvar... [echo] Removing Existing tar File [delete] Deleting: /.../tars/rdsvar.tar.gz [echo] Creating New tar File [tar] Building tar: /.../tars/rdsvar.tar.gz BUILD FAILED /.../build.xml:157: Problem creating TAR: request to write '0' bytes exceeds size in header of '-1582609869' bytes Total time: 1 second -- 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]