ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject RE: Copy and Replace
Date Fri, 07 Sep 2001 22:04:30 GMT
--- Christian Cryder <> wrote:
> What I'm wondering is this: what if I have a different copy which needs
> to use different filters? Is there any way to set up the filters,
> perform the copy, and then remove the filters as soon as I'm done?

Don't think you can ever get rid of a filter, but you can reassign what
the filter value should be. Eg:

  <target name="copy">
    <filter token="foo" value="bar"/>
    <copy file="foo" tofile="bar" filtering="yes"/>
    <filter token="foo" value="baz"/>
    <copy file="foo" tofile="baz" filtering="yes"/>



Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger

View raw message