Re: compare files from 2 directories

2011-03-07 Thread ritchie
The problem was it was inserting the .md5 file in the same directory and also the name of the file was different, now it works. I have another problem though i have to compare 2 directories for files and if file name matches then do a checksum or filesmatch, i could not find a ant task which can d

Re: compare files from 2 directories

2011-02-28 Thread ritchie
I did something like this... -- View this message in context: http://ant.1045680.n5.nabble.com/compare-files-from-2-directories-tp3400285p3403355.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: compare files from 2 directories

2011-02-25 Thread Antoine Levy-Lambert
If you want to compare two directories using ant, you can do this by using the present and the different selectors. these files are only in bar : ${toString:onlyinbar} these files are different in bar compared to foo : ${toString:differentbarfoo} Regards, Antoine [1] htt

Re: compare files from 2 directories

2011-02-25 Thread Antoine Levy-Lambert
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 bu

Re: compare files from 2 directories

2011-02-25 Thread ritchie
I used the below checksum task and i passed the same directory twice but i am getting different values for the same directory. value of prop is ${ab1} ${ab2} [echo] value of prop is 8a76f4364f3d593d9af177630b22b431 [echo] fb3eb4fb22641ba916e55230b597b12a -