ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weinmann, Alexander" <>
Subject Copy-Task only if target file does not exist
Date Tue, 27 Nov 2001 14:00:41 GMT
Hello ant-users,

Is it possible to do a copy task only
if the target file does not yet exist.
<copy />  does the copy if the file does not exist, and
it overwrites the file, if it is older than the original
file. What I  need is a copy task that never
overwrites, but only performs copy operations if the
target file does not yet exist ....

Alexander Weinmann

View raw message