ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34241] - tar task fails when fileset contains large file (>=2GB)
Date Thu, 19 May 2005 19:43:58 GMT
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


ninju_bohra@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major




------- Additional Comments From ninju_bohra@yahoo.com  2005-05-19 21:43 -------
Looks like it back to being an ANT-only issue,

We have three files, one of which is a ~16GB database dump (the other two are 
small) that we want to tar up.

On Linux RH ES 3.0, the following works fine: tar -cvf test.tar /opt/tarit/*

However a simple target that merely tried to <tar> the same files gave us:
tarIt:
     [echo] ./test.tar
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) 
for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for 
type cvsversion
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Tar$TarFileSet: Setup scanner in dir \\wstldwagner\dw_dbexport with patternSet
{ includes: [_droptable.sql, DataExport.dm
p, dataExport.log, droptables.sql, fromuser.txt] excludes: [] }
      [tar] DataExport.dmp added as C:/Tools/Resoft/test.tar doesn't exist.
      [tar] droptables.sql added as C:/Tools/Resoft/test.tar doesn't exist.
      [tar] fromuser.txt added as C:/Tools/Resoft/test.tar doesn't exist.
      [tar] Building tar: C:\Tools\Resoft\test.tar

BUILD FAILED
C:\Tools\Resoft\build.xml:27: Problem creating TAR: request to write '0' bytes 
exceeds size in header of '-290188984' by
tes
        at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:290)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.io.IOException: request to write '0' bytes exceeds size in 
header of '-290188984' bytes
        at org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:235)
        at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java:392)
        at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:285)
        ... 10 more
--- Nested Exception ---
java.io.IOException: request to write '0' bytes exceeds size in header of '-
290188984' bytes
        at org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:235)
        at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java:392)
        at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:285)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)


-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message