|
@@ -43,12 +43,18 @@ |
|
|
</target> |
|
|
</target> |
|
|
|
|
|
|
|
|
<target name="testNewerStylesheet"> |
|
|
<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"/> |
|
|
<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"/> |
|
|
<style in="data.xml" out="${out.dir}/out.xml" style="tmp.xsl"/> |
|
|
<delete file="tmp.xsl"/> |
|
|
<delete file="tmp.xsl"/> |
|
|
</target> |
|
|
</target> |
|
|
|
|
|
|
|
|
<target name="copyXsl" if="xsl.value"> |
|
|
<target name="copyXsl" if="xsl.value"> |
|
|
<copy file="testNewerStylesheet.xsl" tofile="tmp.xsl" overwrite="true"> |
|
|
<copy file="testNewerStylesheet.xsl" tofile="tmp.xsl" overwrite="true"> |
|
|
<filterchain><expandproperties/></filterchain> |
|
|
<filterchain><expandproperties/></filterchain> |
|
|