ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Problem with ANT build - Please help
Date Mon, 27 Dec 2004 14:42:39 GMT
Muhammad,

from your email I understand that you are setting on a
linux box and you are using ant-1.5.2, that is
preinstalled in your linux distribution.
I would suggest you remove that version since it is
fairly old. On Red Hat you can find it with the
command
rpm -qa | grep ant
and uninstall it with the command
rpm -e ant-<version-number>.
Then upgrade to the latest ant version 1.6.2.

As for the concrete build, your are trying to download
tar.gz file and then gunzip it. The build fails saying
that the arcive is broken. Could you also check this
archive if you can open it with some archving tool.

HTH Ivan



--- Muhammad Naufal <naufal@gmail.com> 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
> ==================================================
> 
> 
> --
> Muhammad Naufal V B
> 12345 Lamplight Village Avenue
> APT #227
> Austin , TX 78758
> Cell: 512 658 6773
> 
> 
> -- 
> Muhammad Naufal V B
> 12345 Lamplight Village Avenue
> APT #227
> Austin , TX 78758
> Cell: 512 658 6773
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

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


Mime
View raw message