ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30578] - FilterSet tokens begintoken endtoken @@
Date Wed, 11 Aug 2004 01:41:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30578>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30578

FilterSet tokens begintoken endtoken @@





------- Additional Comments From warren@opencloud.co.nz  2004-08-11 01:41 -------
sorry man i sent the wrong output 

<?xml version="1.0"?>
<project>
  <target name="all">
    <copy file="file.in" tofile="file.out.other" overwrite="yes">
      <filterset begintoken="@@" endtoken="@@">
        <filter token="NAME" value="warren"/>
      </filterset>
    </copy>
    <donothing name="wozza"/>
  </target>
  <macrodef name="donothing">
    <attribute name="name"/>
    <sequential>
      <copy file="file.in" tofile="file.out" overwrite="yes">
        <filterset begintoken="@@" endtoken="@@">
          <filter token="NAME" value="@{name}"/>
        </filterset>
      </copy>
    </sequential>
  </macrodef>
</project>


hello my name is @wozza@
hello my name is warren

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message