ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck.Irv...@mail.sprint.com
Subject How to copy file only if file not present??
Date Thu, 11 Oct 2001 21:17:10 GMT
I want to copy a default property file from src to destination only if 
the file isn't already at destination. For example, I want to copy

   src/defaults-constants.properties

to

   deploy/constants.properties

but I only want this copy to be performed if 

   deploy/constants.properties

doesn't exist. 

I'm betting that there is a way to do this. Is there? Thanks.

Chuck


Mime
View raw message