I'm trying to update the build script for 5.0

Has anyone seen this, it seems the 'get' in ant downloads a corrupt file,
while the browser or command line tools get it right.

ie.

<project>
   <target name='b'>
       <get dest="ant-mx4j.tar.gz" src="${src}"/>
   </target>
</project>

$  ant  -f b.xml
-Dsrc=http://easynews.dl.sourceforge.net/sourceforge/mx4j/mx4j-2.1.1.tar.gz
b

$ cksum  mx4j-2.1.1.tar.gz
768509745 4585483 mx4j-2.1.1.tar.gz

$ cksum cksum mx4j-2.1.1.tar.gz-firefox
552602649 4587837 mx4j-2.1.1.tar.gz-mozilla

Why do I always get the edge cases?

-bob


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

Reply via email to