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:

${foo}

In filter_me.properties I have:

foo=bar

I'd like to use a simple filter like:

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

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.

Thanks,
Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to