ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Resnick" <>
Subject Making copy NEVER overwrite
Date Tue, 22 Mar 2005 10:39:55 GMT
I am making a backup of some files which I then filter back into the
original. Unfortunately, because of the way the targets are set up,  this is
done more than once. I want the copy task to perform the backup only if the
backup files don't exist. Setting overwrite to false doesn't help me because
the second time around the original is newer than the backup.


Can anyone think of a way of preventing the copy target from copying if the
file already exists?


Thanks, David

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message