ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
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 <bodewig@apache.org> wrote:
> On Thu, 5 Jul 2001, Jirtme Lacoste
> <jerome.lacoste@smartcardsystem.com> 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
file(s)?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message