ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <novo...@aei.mpg.de>
Subject how to copy only if dest file does not exist
Date Thu, 08 Sep 2005 11:10:23 GMT

Hi,

    I want to copy a file from source to dest ONLY if the dest file does 
not exist. It seems the overwrite attribute is not quite appropriate in 
this case since it's possible for the source file to be newer. But even 
if it is newer I don't want it being copied over as long as the dest 
file is present.

    Thanks, Jason

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


Mime
View raw message