ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Problem with ANT build - Please help
Date Mon, 27 Dec 2004 08:53:40 GMT
Hello Muhammad,

this is not going to help you very much, but my first comment is that 
you have posted your
question on the wrong email list, it should be going to 
user@ant.apache.org. (the user mailing list).

What surprises me in your email is that it looks like you are using a 
derivate of ant, which is compiled in the form of
shared library (.so). I did not know that this exists.

Cheers,

Antoine

Muhammad Naufal wrote:

>Hello,
>
>I am having some troubles with ANT Build.
>
>Here is the dump of the same. Appreciate if someone can help me
>rectify the same. I have been struggling with ANT for about 2 days
>now. I am not a hi-tech guy, just trying to learn
>
>============================================================
>downloadgz:
>     [get] Getting:
>http://archive.apache.org/dist/jakarta/commons/beanutils/binaries/commons-beanutils-1.7.0.tar.gz
>  [gunzip] Expanding /usr/share/java/file.tar.gz to /usr/share/java/file.tar
>
>BUILD FAILED
>file:/var/www/html/tomcatsource/jakarta-tomcat-5/build.xml:1859:
>Problem expanding gzip corrupted gzip file - crc mismatch
>  at org.apache.tools.ant.taskdefs.GUnzip.extract()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.Unpack.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Task.perform()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.performTasks()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.Ant.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.CallTarget.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Task.perform()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.performTasks()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.Ant.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Task.perform()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.performTasks()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTargets(java.util.Vector)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Main.start(java.lang.String[],
>java.util.Properties, java.lang.ClassLoader)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Main.main(java.lang.String[])
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>Caused by: java.util.zip.ZipException: corrupted gzip file - crc mismatch
>  at java.util.zip.GZIPInputStream.read(byte[], int, int)
>(/usr/lib/libgcj.so.5.0.0)
>  at org.apache.tools.ant.taskdefs.GUnzip.extract()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  ...20 more
>--- Nested Exception ---
>java.util.zip.ZipException: corrupted gzip file - crc mismatch
>  at java.util.zip.GZIPInputStream.read(byte[], int, int)
>(/usr/lib/libgcj.so.5.0.0)
>  at org.apache.tools.ant.taskdefs.GUnzip.extract()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.Unpack.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Task.perform()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.performTasks()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.Ant.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.CallTarget.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Task.perform()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.performTasks()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.taskdefs.Ant.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Task.perform()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.execute()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Target.performTasks()
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Project.executeTargets(java.util.Vector)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Main.start(java.lang.String[],
>java.util.Properties, java.lang.ClassLoader)
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>  at org.apache.tools.ant.Main.main(java.lang.String[])
>(/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>
>Total time: 2 seconds
>[root@localhost tomcatsource]# java.util.zip.ZipException: corrupted
>gzip file - crc mismatch
>bash: java.util.zip.ZipException:: command not found
>==================================================
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message