Re: compare files from 2 directories

2011-03-07 Thread ritchie
do this. I have written a java class to do this but i wanted to know whether this can be achieved without invoking a java or perl. -- View this message in context: http://ant.1045680.n5.nabble.com/compare-files-from-2-directories-tp3400285p3412581.html Sent from the Ant - Users mailing list

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
-- 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-unsubscr

compare files from 2 directories

2011-02-25 Thread ritchie
I want to check files from 2 directories for filematch, I tried using checksum task but it does not work for 2 directories. Is it possible to attain this by using ant alone? -- View this message in context: http://ant.1045680.n5.nabble.com/compare-files-from-2-directories-tp3400285p3400285.html