ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Problem using <copy overwrite="false"> with filterset
Date Fri, 11 Apr 2003 15:22:58 GMT
On Fri, 11 Apr 2003, Anton Grimm <Anton_Grimm@mn.man.de> wrote:

> I was trying the following copy-task, but it does not work, i.e the
> files are always copied even when they already exist.

overwrite="false" will only prevent your files from being overwritten
if they not only exist but are actually newer than the sources.

Run 'ant -debug -logfile foo.log' and investigate your logfile.  It is
going to include a list with "Adding baz as it is newer than
/target/baz" that will give you a hint if there are any problems with
your setup.

Stefan

Mime
View raw message