donaldp 02/02/09 16:18:53
Modified: proposal/myrmidon/src/make sample.ant
Added: proposal/myrmidon/src/make testdata.txt
Log:
Add some more minor tests for filteredcopy ...
really got to copy across the ant1.x task testing infrastructure ;)
Revision Changes Path
1.35 +13 -0 jakarta-ant/proposal/myrmidon/src/make/sample.ant
Index: sample.ant
===================================================================
RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/sample.ant,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- sample.ant 9 Feb 2002 05:16:40 -0000 1.34
+++ sample.ant 10 Feb 2002 00:18:53 -0000 1.35
@@ -234,4 +234,17 @@
<copy file="sample.ant"
dest-file="../../dist/bin/sample.ant-copied.txt"/>
</target>
+ <target name="move-test">
+ <move file="../../dist/bin/sample.ant-copied.txt"
+ dest-file="../../dist/bin/sample.ant-moved.txt"/>
+ </target>
+
+ <target name="filtered-copy-test">
+ <filtered-copy file="testdata.txt"
dest-file="../../dist/bin/filtered-data.txt">
+ <filter-set>
+ <filter token="REPLACEME"
value="***replacement-data-here***"/>
+ </filter-set>
+ </filtered-copy>
+ </target>
+
</project>
1.1 jakarta-ant/proposal/myrmidon/src/make/testdata.txt
Index: testdata.txt
===================================================================
SOme values that have a REPLACEME in them to be replaced like @REPLACEME@ or
@REPLACEME@
or @REPLACEME
@
etc
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>