ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: in a copy task Filtering does not take place if filter value has changed
Date Fri, 06 Jul 2001 13:07:12 GMT
--- Stefan Bodewig <> wrote:
> On Thu, 5 Jul 2001, Jirtme Lacoste
> <> wrote:
> > If you modify the build.xml and change the value of the filter task,
> > the filtering does not happen.  In fact copy only checks the time of
> > the files to copy.
> Yes, this is the expected behavior and the standard workaround is to
> use the overwrite attribute of copy, this is what we do in Ant's build
> file for the version information ourselves.
> [snip] 
> The coloring approach Peter describes looks as the only clean
> solution, but I don't see anything like this in the nearer future.
> Up to then we have to rely on the build-meister to know when things
> have changed that need manual intervention (like setting the overwrite
> attribute or running a clean target before building).

If you define your filters in a properties file, couldn't you make the
target that does the copying depend on the up-to-dated-ness of that/those



Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail

View raw message