ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <>
Subject Filtering on ${} instead of @@
Date Thu, 11 Sep 2008 14:48:18 GMT
Hi all, I searched the archives but couldn't find a solution. For
example, I have a file named filter_me.txt with its contents:


In I have:


I'd like to use a simple filter like:

 <target name="filter_me">
        <property file=""/>
        <filter token="foo" value="${foo}" />
        <copy todir="target/somedir" filtering="true" overwrite="true" >
                <fileset dir="src">
                <include name="*.txt*"/>

Is there any way to replace "${foo}" with "bar" via ant as shown in
this example ? I can't use @foo@ for non-tecnical reasons.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message