ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hauser <c.hau...@active.ch>
Subject Check if file already exists
Date Tue, 17 Oct 2006 00:44:08 GMT
Hello

I'd like to check within an Ant target whether a particular file already 
exists on the disk and if not download the file (using the Get Ant task).

How do I best check if the file already exists?

Any help (preferably with a small code snippet) is appreciated.

Thanks in advance,

Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message