At 08:30 17/12/00 -0500, David Corbin wrote:
>The javac task has some conditionality in it, I think, that says "don't
>compile those class files that haven't changed". I want to find a way
>to do something similar for other tasks/targets.
>
>For example, if I have something like this:
>
><target name="foo">
> <exec executable="foomaker">
> <arg>foosrc</arg>
> </exec>
></target>
>
>How do I get it to ONLY run when foosrc is newer than foo?
>Thanks.
Unfortiunately you have to program it in ;( atm - Ant2.0 will significantly
ease this but that is a while off. You may want to have a look at the
UpToDate task for an idea about how to go about it thou.
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*