ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: File copy problem
Date Fri, 22 Feb 2002 07:22:26 GMT
On Thu, 21 Feb 2002, Scott Ganyo <> wrote:

> It is a shame that the copy task doesn't support the concept of
> "copy when different date

That would work, do you want to supply a patch?

> (or content)"

which would decrease performance a lot more than overwrite="true" as
you'd have to read two files and compare them instead of reading one
and writing one.

> Any suggestions?

Do you have any chance to identify these files that may be duplicates?
If so, perform two copies.  One with overwrite="false" for those that
are unique - the majority of files, I assume - and one with
overwrite="true" for the rest.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message