Browse Source

Add some more minor tests for filteredcopy ...

really got to copy across the ant1.x task testing infrastructure ;)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271260 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
5de5749977
2 changed files with 18 additions and 0 deletions
  1. +13
    -0
      proposal/myrmidon/src/make/sample.ant
  2. +5
    -0
      proposal/myrmidon/src/make/testdata.txt

+ 13
- 0
proposal/myrmidon/src/make/sample.ant View File

@@ -234,4 +234,17 @@ Legal:
<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>

+ 5
- 0
proposal/myrmidon/src/make/testdata.txt View File

@@ -0,0 +1,5 @@
SOme values that have a REPLACEME in them to be replaced like @REPLACEME@ or
@REPLACEME@
or @REPLACEME
@
etc

Loading…
Cancel
Save