David Corbin <[EMAIL PROTECTED]> wrote: > <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. Use <uptodate> to set a property if foo is not newer than foosrc and add an unless attribute to the foo-Target. In Ant 1.3 your problem could be solved as <transform executable="foomaker"> <srcfile /> <fileset dir="." includes="foosrc" /> <mapper type="glob" from="foosrc" to="foo" /> </transform> Stefan
- Conditional task execution David Corbin
- Re: Conditional task execution Peter Donald
- Re: Conditional task execution David Corbin
- Conditional task execution Stefan Bodewig
- Conditional task execution Stefano Mancarella
- RE: Conditional task execution Fran�ois Waelti
- RE: Conditional task execution Matt_Conway
- RE: Conditional task execution Helliwell, Matthew
- RE: Conditional task execution Don Taylor
- Re: Conditional task execution Larry V. Streepy, Jr.
- Forked junit task not finding TestRunne... Dani Zweig
- RE: Conditional task execution Helliwell, Matthew
- RE: Conditional task execution Jon Skeet
- Re: Conditional task execution Stefano Mancarella
