Re: how to compare two directores ?

2012-08-21 Thread Matt Benson
Hello, I think you'd get more assistance if you explained what you are trying to do, and/or showed us a snippet from the part of your build where things aren't going as you expect. Matt On Tue, Aug 21, 2012 at 12:33 AM, GNSH wrote: > how to compare two directores ? comparing

how to compare two directores ?

2012-08-21 Thread GNSH
how to compare two directores ? comparing with working fine, but when one directory is empty then ant generating error message ..please suggest me solution . ERROR message is \PatchUtilitybuild.xml:36: Specify at least one source - a file or a resource collection. Thanks, GNS -- View

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

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

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

Re: compare files line by line

2009-07-30 Thread David Weintraub
t the file contents into two properties and then do a compare among the properties. 2009/7/29 Júlio Cesar Bueno Cotta > Hello good people > I am here again needing some help > now I need to do a I script to compare two ".properties"..like > > First file Name: dev.properties >

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 tas

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 ".prope

compare files line by line

2009-07-29 Thread Júlio Cesar Bueno Cotta
Hello good people I am here again needing some help now I need to do a I script to compare two ".properties"..like First file Name: dev.properties @v...@=test1 @v...@=test2 @v...@=test3 Secund fiel Name: prd.properties # comment @v...@=test1 @v...@=test1037 @v...@=test4 I need

Re: Use Ant to Compare file and directories

2008-11-27 Thread minifish
ny task >> that >> > will do that by itself... >> > >> > On Tue, 25 Nov 2008, minifish wrote: >> > >> >> >> >> Sorry I should have been more clear. I need to compare all the files >> and >> >> directories with

Re: Use Ant to Compare file and directories

2008-11-27 Thread David Weintraub
.I think so... Off the top of my head I don't know of any task > that > > will do that by itself... > > > > On Tue, 25 Nov 2008, minifish wrote: > > > >> > >> Sorry I should have been more clear. I need to compare all the files and > >> director

Re: Use Ant to Compare file and directories

2008-11-27 Thread minifish
hat > will do that by itself... > > On Tue, 25 Nov 2008, minifish wrote: > >> >> Sorry I should have been more clear. I need to compare all the files and >> directories within the directory, as well as unpack the Jar files and >> compare the contents. >> &

Re: Use Ant to Compare file and directories

2008-11-27 Thread minifish
I'm using ant because the test harness of the big project is java ant. I'm wondering if it's possible to call ant and get a list of directories, file, and file size similar to "ls -la". Then write another program in XML or other languages to compare the results. So fa

Re: Use Ant to Compare file and directories

2008-11-25 Thread David Weintraub
directory working >> down? >> >> On Tue, 25 Nov 2008, minifish wrote: >> >>> >>> Hello, >>> This is just a general question. I'm new to ant. >>> Any idea I use ant to compare too installs?? :,( >>> for example, tell user the

Re: Use Ant to Compare file and directories

2008-11-25 Thread Scot P. Floess
Yeah...I think so... Off the top of my head I don't know of any task that will do that by itself... On Tue, 25 Nov 2008, minifish wrote: Sorry I should have been more clear. I need to compare all the files and directories within the directory, as well as unpack the Jar files and co

Re: Use Ant to Compare file and directories

2008-11-25 Thread minifish
Sorry I should have been more clear. I need to compare all the files and directories within the directory, as well as unpack the Jar files and compare the contents. I'm thinking somehow I have to record all the files from both install directory and compare. Scot P. Floess-2

Re: Use Ant to Compare file and directories

2008-11-25 Thread Scot P. Floess
OK, next questioninstalls of what? Will you need to unpack Jar files and compare the contents... Or simply compare 2 directories and the files contained therein??? On Tue, 25 Nov 2008, minifish wrote: yes Scot P. Floess-2 wrote: Do you mean a file by file comparison starting

Re: Use Ant to Compare file and directories

2008-11-25 Thread minifish
yes Scot P. Floess-2 wrote: > > > Do you mean a file by file comparison starting from a directory working > down? > > On Tue, 25 Nov 2008, minifish wrote: > >> >> Hello, >> This is just a general question. I'm new to ant. >> Any idea I us

Re: Use Ant to Compare file and directories

2008-11-25 Thread Scot P. Floess
Do you mean a file by file comparison starting from a directory working down? On Tue, 25 Nov 2008, minifish wrote: Hello, This is just a general question. I'm new to ant. Any idea I use ant to compare too installs?? :,( for example, tell user the file size and directory difference. --

Use Ant to Compare file and directories

2008-11-25 Thread minifish
Hello, This is just a general question. I'm new to ant. Any idea I use ant to compare too installs?? :,( for example, tell user the file size and directory difference. -- View this message in context: http://www.nabble.com/Use-Ant-to-Compare-file-and-directories-tp20688353p20688353.html

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. se

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.

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 a

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.

compare folder/files

2008-03-03 Thread Md. Jahidul Hasan
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.

How can we use the checksum task (or another ant task) to compare that the ftp worked

2008-02-26 Thread Vijay Aravamudhan
each file from the ftp server before they use these artifacts. I wanted to use the checksum task or something similar to compare the file sizes between the local and remote server before sending that email. If the checksums don't match, we would like to fail the build. Does anyone know how thi

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

Compare

2006-11-07 Thread Venkatesh Vijayakumar04
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. Thanks in advance, Venkatesh.V CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended

compare file names in ant

2005-03-09 Thread Radha Sangal
Is there any way in Ant, to compare filenames? I am dealing with jar files and after 2 levels of hierarchy , I need to scan all file names and come out with similar pattern with the latest timestamp(included in filename). Any advice would be appreciated.

compare task?

2004-07-20 Thread Neta Bar Tal
Hi all, I want to compare two files (size of jars for example). Is there any ant task that do such a thing? thanks in advance Neta Bar-Tal * 972-9-7960521 [EMAIL PROTECTED] The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be