ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: Yay! got uptodate to work, thanks all
Date Fri, 04 Mar 2005 17:23:17 GMT
> From: Matt Benson []
> --- wrote:
> [SNIP]
> > So i guess my question is how do i do what the javac
> > task does, namely give a
> > directory, for each item in the directory, see if
> > it's output file is up to
> > date, and if not build it.
> How do you build it?  If, by chance, it is using the
> exec task you could combine the two approaches and use
> the apply task.

Yeah, since we persist on not providing an <apply> equivalent for

Instead of using <ac:for> + <ac:uptodate>, you can still use <apply>,
which has built in looping and timestamp checking abilities, but you
must <exec> a VM instead of using <java>, which is mostly like <exec>
anyway, with easier handling of Java-specific arguments like classpath,
Sys props, etc...

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

View raw message