You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Fergus Gallagher <Fe...@OrbisUK.com> on 2000/02/15 20:43:55 UTC

repeating Filters

I had been hoping to use a filter (for use with copydir) with the same
filter name local to a particular target.

    <target name="A">
	<filter token="myToken" value="VALUE_A"/>
    </target>
    <target name="B">
	<filter token="myToken" value="VALUE_B"/>
    </target>

But it seems <filter> is a global setting, set at parse time.  I used to
use <KeySubst> but this has been deprecated.

Anyone got a solution?

Thanks

Fergus

-- 
Fergus Gallagher          Tel: +44 (20) 89 87 07 17
Orbis                     Fax: +44 (20) 87 42 26 49
The Swan Centre           email: Fergus.Gallagher@orbisuk.com
Fishers Lane              Web: http://www.orbisuk.com
London W4 1RX / UK