You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Artem Portnoy <ar...@ibi.com> on 2000/11/10 21:51:11 UTC

Checking for file/directory existence

Hi!
Could anyone point me in the right direction?  Is it possible in Ant to execute a task
depending on the file or directory existence?  For example, I would like to copy a certain
file if it exists or skip the copy operation if it doesn't.  How do I do that?
Thank you,
Artem