ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <ganesh.devaraj...@baml.com>
Subject Re: compare files from 2 directories
Date Fri, 25 Feb 2011 16:32:45 GMT

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
-- 
View this message in context: http://ant.1045680.n5.nabble.com/compare-files-from-2-directories-tp3400285p3400389.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message