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 ? 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
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
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
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
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
--
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
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
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
>
> 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
-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
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
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
.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
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.
>>
&
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
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
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
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
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
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
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.
--
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
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
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.
> 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
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.
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.
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
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
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
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
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.
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
34 matches
Mail list logo