Hi,
My ant code looks something like this:
...
<target name="copy_files">
<copy todir="../new/dir">
<fileset dir="src_dir"/>
</copy>
</target>
<target name="run" depends="copy_files">
<java jar="some_jar.jar" fork="true"/>
</target>
...
I would like the run target to be exectuted only if files have been copied.
If I do not do a clean and files have not been modified, no files are
actually copied but the run target is still executed.
How can I do this?
Thanks,
walki
--
View this message in context:
http://www.nabble.com/if-files-have-been-copied-physically%2C-then-execute-some-target-tp23452004p23452004.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]