Browse Source

Make easier to read

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275225 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
4adfc6f679
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      src/etc/testcases/taskdefs/style/build.xml

+ 8
- 2
src/etc/testcases/taskdefs/style/build.xml View File

@@ -43,12 +43,18 @@
</target>

<target name="testNewerStylesheet">
<antcall target="copyXsl"><param name="xsl.value" value="old-value"/></antcall>
<antcall target="copyXsl">
<param name="xsl.value" value="old-value"/>
</antcall>
<style in="data.xml" out="${out.dir}/out.xml" style="tmp.xsl"/>
<antcall target="copyXsl"><param name="xsl.value" value="new-value"/></antcall>

<antcall target="copyXsl">
<param name="xsl.value" value="new-value"/>
</antcall>
<style in="data.xml" out="${out.dir}/out.xml" style="tmp.xsl"/>
<delete file="tmp.xsl"/>
</target>

<target name="copyXsl" if="xsl.value">
<copy file="testNewerStylesheet.xsl" tofile="tmp.xsl" overwrite="true">
<filterchain><expandproperties/></filterchain>


Loading…
Cancel
Save