ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Turner <>
Subject Re: Problem with OUTOFDATE (ant-contrib) task
Date Tue, 08 Apr 2008 06:58:49 GMT

> 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:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message