Dominique
> You're not saying what you do if the two dirs differ. 

I wish to build and deploy the module, which simply involves making a call
to another build.xml file  which is included in the structure; if the two
dirs are the same, I wish to do nothing.

In plain English the problem could be stated as: "Have there been any
changes to this module since I last deployed it?  If so, redeploy it,
otherwise do nothing"

The reason I included the <for> loop is that I have a list of about 55 of
these items which are currently all redeployed every time;  this operation
is very slow, so I want to speed it up by processing only those modules
which need to be redeployed.

> Since you're using an identity mapper, it could be that you could use
> <sync>
> instead of <outofdate> or simply a <fileset> with a <present> and/or
> <modified> selector.

I've had a look at <sync>, but I can't see how it would give me an answer to
my underlying question.
I've also has a look at the a <fileset> with a <modified> (or <depend>)
selector, but again I'm not clear how I could use them to give a simple
yes/no answer to my basic question.

Can anybody tell me what's wrong with my code as originally posted?



-- 
View this message in context: 
http://www.nabble.com/Problem-with-OUTOFDATE-%28ant-contrib%29-task-tp16537429p16547976.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to