On Wed, 29 Sep 2004, Jacob Kjome <[EMAIL PROTECTED]> wrote:

> http://archive.apache.org/dist/jakarta/commons/lang/binaries/
> commons-lang-2.0.tar.gz
> commons-lang-2.0.tar.gz.md5

fails because it hasn't been generated by the <checksum> task.

Ant's checksum task puts the checksum into a file on its own - this is
different from what GNU's md5sum or BSD's md5 do.

The file you point to contains

MD5 (commons-lang-2.0.tar.gz) = 0b283e78a186510d28783bacf9930acf

which doesn't get parsed correctly by <checksum>.

Ant's CVS HEAD has been modified so that <checksum> deals with
different patterns inside the checksum file and I've just now
successfully validated the above file using Ant's CVS HEAD and

<checksum format="SVF" file="commons-lang-2.0.tar.gz"
          verifyproperty="foo" algorithm="md5"/>
<echo>${foo}</echo>

so the MD5 file seems to have been generated on the command line on a
BSD machine.

Stefan

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

Reply via email to