ant-user mailing list archives

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


    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:
For additional commands, e-mail:

View raw message