ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Problem with <gunzip> task
Date Wed, 18 May 2005 21:15:03 GMT
Hello all,

ANT v1.6.2
OS: Windows XPPro

I am trying the <gunzip> 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/junk@junk

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


Mime
View raw message