ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: compare files from 2 directories
Date Fri, 25 Feb 2011 21:10:40 GMT
Maybe you have a program running which is writing a log file under 
C:\Program Files.

You should try on a tiny set of files which you know are  not going to 
change.

Regards,

Antoine

On 2/25/2011 11:32 AM, ritchie wrote:
> I used the below checksum task and i passed the same directory twice but i am
> getting different values for the same directory.
>
> <target name="a">
>
>    <checksum totalproperty="ab1">
>      <fileset dir="C:\program files"/>
>
>
>    </checksum>
>    <checksum totalproperty="ab2">
>    <fileset dir="C:\program files"/>
>    </checksum>
> <echo>value of prop is ${ab1}</echo>
> <echo>${ab2}</echo>
>
> </target>
>
>
>
>   [echo] value of prop is 8a76f4364f3d593d9af177630b22b431
>   [echo] fb3eb4fb22641ba916e55230b597b12a


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


Mime
View raw message