Found that the cause is that the ANT <tar> task appears to have a size limit.  
There was an existing Bugzilla entry 
(http://issues.apache.org/bugzilla/show_bug.cgi?id=34241) regarding the size 
issue.
 
I have updated it with the information I found (basically, Red Hat ES 3.0 CAN 
handle file size, it is now an ANT-only issue)
 
Thanx,
Ninju

Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
What you can do :

1) to analyze the error more deeply, try to create a gzipped file with ant
and gunzip it with ant on your platform. 
2) compare the binary look and feel of the gzip created by ant and the other
gzip file which is failing to be gunzipped
3) if you do not find an explanation in steps 1) and 2)
file a bug report with a sample build file and a sample gz file which fails
to be gunzipped by ant (as attachment of course).
indicate in the bug report how the gzip file which ant fails to expand is
being created (which utility, on which platform)

Cheers,

Antoine

> --- Ursprüngliche Nachricht ---
> Von: Ninju Bohra 
> An: Ant Users Group 
> Betreff: Problem with task
> Datum: Wed, 18 May 2005 14:15:03 -0700 (PDT)
> 
> Hello all,
> 
> ANT v1.6.2
> OS: Windows XPPro
> 
> I am trying the task on a .tar.gz file and I
> get:
> 
> get.ungzip.info:
> [input] skipping input as property gzip.filename
> has already been set.
> 
> get.import.info:
> [input] skipping input as property import.user has
> already been set.
> [input] skipping input as property import.password
> has already been set.
> [input] skipping input as property import.service
> has already been set.
> Setting project property: import.login ->
> junk/[EMAIL PROTECTED]
> 
> ungzipDB:
> [gunzip] Expanding
> C:\Dumps\Testing\testinggzip.tar.gz to
> C:\DOCUME~1\dwagner\LOCALS~1\Temp\dbexport\testinggzip.tar
> 
> BUILD FAILED
> C:\Tools\Resoft\Ant\schemaCopy.xml:241: Problem
> expanding gzip Corrupt GZIP trai
> ler
> at
> org.apache.tools.ant.taskdefs.GUnzip.extract(GUnzip.java:64)
> at
> org.apache.tools.ant.taskdefs.Unpack.execute(Unpack.java:119)
> 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: Corrupt GZIP trailer
> at
> java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:174)
> at
> java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89)
> at
> org.apache.tools.ant.taskdefs.GUnzip.extract(GUnzip.java:60)
> ... 11 more
> 
> The file (testinggzip.tar.gz) was built on a Linux box
> (RedHat version 1.3.3) and we are able to open the
> .tar.gz with problem (via the gzip -cd
> testinggzip.tar.gz | tar xvf - instruction)
> 
> Any ideas?
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/ 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

Reply via email to