Is there a way to force nant to expand a property in the filterchain
refid. 

For example:

<filterchain id="foo.bar">
  <replacestring from="foo" to="bar"/>
</filterchain>   

<property name="filterchain.refid" value="foo.bar"/>

<target name="test">
  <copy file="foo.txt" tofile="bar.txt" overwrite="true">
    <filterchain refid="${filterchain.refid}"/>
  </copy>
</target>

The example above always fails:

BUILD FAILED
filterchain reference '${filterchain.refid}' not defined.

-Mike



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to