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 -

Re: compare files line by line

2009-07-30 Thread David Weintraub
Take a look at this task: < http://ant.apache.org/manual/OptionalTasks/replaceregexp.html> And, then take a look at this: < http://ant.apache.org/manual/CoreTypes/regexp.html> It appears that the two might be related. If that's the case, you might be able to use the somehow in the . Also take a

RE: compare files line by line

2009-07-30 Thread Felix Dorner
> I am here again needing some help > now I need to do a I script to compare two ".properties"..like I'd just write a custom task for these kind of things. Then you're done within an hour, taking Hofstadters law into account. If you've never written a custom task, your objective sounds like a goo

RE: compare files line by line

2009-07-30 Thread Rebhan, Gilbert
-Original Message- From: JĂșlio Cesar Bueno Cotta [mailto:juliocbco...@gmail.com] Sent: Wednesday, July 29, 2009 10:21 PM To: Ant Users List Subject: compare files line by line /* Hello good people I am here again needing some help now I need to do a I script to compare two ".properties"

Re: compare folder/files

2008-03-03 Thread Gilbert Rebhan
Md. Jahidul Hasan schrieb: > Hi, > > I have a target which upload folders/files to one location and I need to > compare the content after upload, how to proceed ? uploaded part has been > done by using copy and fileset task. Can't find any good solution for > compare. see http://ant.apache.org/m

Re: compare folder/files

2008-03-03 Thread Dimitris Mouchritsas
Md. Jahidul Hasan wrote: Md. Jahidul Hasan wrote: Hi, I have a target which upload folders/files to one location and I need to compare the content after upload, how to proceed ? uploaded part has been done by using copy and fileset task. Can't find any good solution for compare. Hasan

Re: compare folder/files

2008-03-03 Thread Md. Jahidul Hasan
> Md. Jahidul Hasan wrote: >> Hi, >> >> I have a target which upload folders/files to one location and I need to >> compare the content after upload, how to proceed ? uploaded part has >> been >> done by using copy and fileset task. Can't find any good solution for >> compare. >> >> Hasan >> >> >

Re: compare folder/files

2008-03-03 Thread Dimitris Mouchritsas
Md. Jahidul Hasan wrote: Hi, I have a target which upload folders/files to one location and I need to compare the content after upload, how to proceed ? uploaded part has been done by using copy and fileset task. Can't find any good solution for compare. Hasan ---

RE: Compare

2006-11-27 Thread Pritesh Saharey
http://www.hsrl.rutgers.edu/ug/make_help.html http://www.aero.lr.tudelft.nl/facilities/manuals/fortran/node6.html -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 4:07 PM To: Ant Users List Subject: Re: Compare Venkatesh Vijayakumar04

Re: Compare

2006-11-07 Thread Steve Loughran
Venkatesh Vijayakumar04 wrote: Hi , I have to compare the size of source and destination file. Can any one advice me the task that can be used for the same. There's a condition which only does byte-for-byte comparison if the files are of different sizes... -