diff options
Diffstat (limited to 'buildtools.xml')
-rw-r--r-- | buildtools.xml | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/buildtools.xml b/buildtools.xml index 8b3838fb8..be2e079a9 100644 --- a/buildtools.xml +++ b/buildtools.xml @@ -5,9 +5,8 @@ Instructions for building the buildtools.jar: Classpath should contain the following: - Xerces 1.2.x - Xalan 1.2.x - Xalan 2.x + Xerces + Xalan xml-fop/lib/ant.jar Run "ant -f buildtools.xml" to build a new version of the buildtools jar @@ -25,18 +24,15 @@ <property name="hyph" value="org/apache/fop/layout/hyphenation"/> <property name="buildtools.jar" value="./lib/buildtools.jar"/> - <property name="xalan1" value="Xalan1Transform.java"/> <property name="trax" value="TraxTransform.java"/> <available property="trax.present" classname="javax.xml.transform.Transformer"/> - <available property="xalan1.present" classname="org.apache.xalan.xslt.XSLTProcessor"/> - </target> + </target> <target name="compile" depends="init,prepare.src"> <mkdir dir="${build.dest}"/> <javac srcdir="${build.src}" destdir="${build.dest}"/> - </target> <target name="buildtools" depends="clean,init,compile"> @@ -46,19 +42,11 @@ includes="${tools}/**,${hyph}/**"/> </target> - <target name="prepare.src" depends="prepare.xalan1,prepare.trax"> + <target name="prepare.src" depends="prepare.trax"> <copy todir="${build.src}"> <fileset dir="${src.dir}" includes="${tools}/**,${hyph}/**" - excludes="${tools}/anttasks/Fop.java,${tools}/TestConverter.java,${hyph}/Hyphenator.java,**/${xalan1},**/${trax}"/> - </copy> - </target> - - <target name="prepare.xalan1" if="xalan1.present"> - <echo message="Xalan1 is present. Installing Xalan1 support"/> - <copy todir="${build.src}"> - <fileset dir="${src.dir}" - includes="**/${xalan1}"/> + excludes="${tools}/anttasks/Fop.java,${tools}/TestConverter.java,${hyph}/Hyphenator.java,**/${trax}"/> </copy> </target> |