ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: checksum task fails sometimes when it shouldn't
Date Thu, 30 Sep 2004 12:58:46 GMT
On Wed, 29 Sep 2004, Jacob Kjome <> wrote:

> 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"/>

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message