How can I make the exec task smart enough so that it won't do anything if the
file generated by the task has already been created?
For example,
does nothing the second time. Not sure how it works, but maybe if the
timestamp of destFile.txt is equal to or larger than srcFile.txt than nothi
First off. You shouldn't be doing antcalls. Especially in order. Ant
has the ability to figure out how to build your software. All you have
to do is give it the information it needs.
For example:
In the above (fairly empty) Ant script, running "ant" will
Hello Glenn and all,
The solution given below is what I wanted my build.xml file to do. I
appologize if I had not been clear with my question earlier.
With all the replies I received, I now understand how the 'unless' attribute
works and have a better understanding of how to use the available a
-Original Message-
From: Alexei Alexei [mailto:a_subscri...@mail.ru]
Sent: Monday, December 29, 2008 11:21 AM
To: Rebhan, Gilbert
Subject: RE: Ant- copy file from one folder to many folders
/*
The global task is:
In the folder "myfolder1" I have file "myclass.class".
1. Find file "mycl
-Original Message-
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: Monday, December 29, 2008 6:10 AM
To: Ant Users List; Alexei Alexei
Subject: Re: Ant- copy file from one folder to many folders
/*
The standard task requires a single target name, so you
couldn't do it with the s