Skip to content

Commit

Permalink
Move the Xalan tool definition so that it's with the other tool defin…
Browse files Browse the repository at this point in the history
…itions. No functional change.
  • Loading branch information
iay committed Aug 28, 2009
1 parent cdb894d commit 3ce5535
Showing 1 changed file with 34 additions and 26 deletions.
60 changes: 34 additions & 26 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,32 +311,6 @@
<echo>Generated unsigned metadata.</echo>
</target>

<!--
Macro to run the Xalan XSLT engine, taking files from pre-defined
locations.
-->
<macrodef name="XALAN">
<attribute name="i"/>
<attribute name="o"/>
<attribute name="x"/>
<sequential>
<java fork="true" maxmemory="384m" failonerror="true" classname="org.apache.xalan.xslt.Process">
<classpath>
<fileset dir="${tools.xalan}/lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
<jvmarg value="-Djava.endorsed.dirs=${tools.xalan}/endorsed"/>
<arg value="-IN"/>
<arg value="${xml.dir}/@{i}"/>
<arg value="-OUT"/>
<arg value="${xml.dir}/@{o}"/>
<arg value="-XSL"/>
<arg value="${build.dir}/@{x}"/>
</java>
</sequential>
</macrodef>

<!--
gen.entities
Expand Down Expand Up @@ -535,6 +509,40 @@
</sequential>
</macrodef>

<!--
*******************************
*** ***
*** X A L A N T O O L ***
*** ***
*******************************
-->

<!--
Macro to run the Xalan XSLT engine, taking files from pre-defined
locations.
-->
<macrodef name="XALAN">
<attribute name="i"/>
<attribute name="o"/>
<attribute name="x"/>
<sequential>
<java fork="true" maxmemory="384m" failonerror="true" classname="org.apache.xalan.xslt.Process">
<classpath>
<fileset dir="${tools.xalan}/lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
<jvmarg value="-Djava.endorsed.dirs=${tools.xalan}/endorsed"/>
<arg value="-IN"/>
<arg value="${xml.dir}/@{i}"/>
<arg value="-OUT"/>
<arg value="${xml.dir}/@{o}"/>
<arg value="-XSL"/>
<arg value="${build.dir}/@{x}"/>
</java>
</sequential>
</macrodef>

<!--
*******************************************
*** ***
Expand Down

0 comments on commit 3ce5535

Please sign in to comment.