ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Newbie ant question
Date Thu, 20 Mar 2003 13:51:41 GMT
On Thu, 20 Mar 2003, Norman Walsh <ndw@nwalsh.com> wrote:

>     <copy file="dm-example.xml" tofile="dm-example.xml.cdata"
>           overwrite="yes"/>
> 
> But I discovered that this target always rebuilt the file,
> regardless of whether or not the dm-example.xml file was actually
> newer than dm-example.xml.cdata.

The overwrite="true" is the problem as it disables dependency
checking.  Set it to false (or somply omit it) and things should work
as expected.

Stefan

Mime
View raw message