diff options
author | Kelly Campbell <kellyc@apache.org> | 2001-01-16 08:00:50 +0000 |
---|---|---|
committer | Kelly Campbell <kellyc@apache.org> | 2001-01-16 08:00:50 +0000 |
commit | 8aa012856f348eb5138de60634712b7460420ad6 (patch) | |
tree | 54cbde32ed2063e840aabe1e30adcdbaf41a5d41 /build.xml | |
parent | 20a349e18a7acd5d1f2affd0eded7bb20ed43bb0 (diff) | |
download | xmlgraphics-fop-8aa012856f348eb5138de60634712b7460420ad6.tar.gz xmlgraphics-fop-8aa012856f348eb5138de60634712b7460420ad6.zip |
Packaged build tasks into lib/buildtools.jar
Added buildtools.xml for building the build tools jar file.
Moved source for ant tasks into src/org/apache/fop/tools/anttasks
Set up dual support for Xalan 1 native and Xalan 2 JAXP1.1 transform interfaces.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 42 |
1 files changed, 34 insertions, 8 deletions
@@ -121,8 +121,8 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <tstamp/> <property name="Name" value="Fop"/> <property name="name" value="fop"/> - <property name="version" value="0.15cvs"/> - <property name="year" value="1999-2000"/> + <property name="version" value="0.17cvs"/> + <property name="year" value="1999-2001"/> <echo message="------------------- ${Name} ${version} [${year}] ----------------"/> @@ -192,17 +192,28 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <property name="ZapfDingbats.xml" value="${build.codegen}/ZapfDingbats.xml"/> <property name="Symbol.xml" value="${build.codegen}/Symbol.xml"/> + <property name="xalan1" value="Xalan1Transform.java"/> + <property name="trax" value="TraxTransform.java"/> + <property name="xsltransform" value="XSLTransform.java"/> + <property name="pfmreader" value="PFMReader.java"/> + + <property name="tools.pkg" value="org/apache/fop/tools"/> + + <!-- insert custom font information here (step 1 of 2) --> <!-- use this as a template <property name="myfont.xml" value="${build.codegen}/myfont.xml"/> --> - <taskdef name="serHyph" classname="SerializeHyphPattern"/> - <taskdef name="xslt" classname="Xslt"/> + <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"/> + <taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/> <available property="xt.present" classname="com.jclark.xsl.sax.XSLProcessor"/> <available property="jimi.present" classname="com.sun.jimi.core.Jimi"/> <available property="jai.present" classname="javax.media.jai.JAI"/> + <available property="trax.present" classname="javax.xml.transform.Transformer"/> + <available property="xalan1.present" classname="org.apache.xalan.xslt.XSLTProcessor"/> + <filter token="${replacestring}" value="${build.src}/${replacestring}"/> </target> @@ -290,14 +301,29 @@ Sometimes ant gives out this warnings, but the build is finished without any pro </target> + <target name="prepare-xalan1" if="xalan1.present"> + <echo message="Xalan1 is present. Installing Xalan1 support"/> + <copydir src="${src.dir}" + dest="${build.src}" + includes="**/${xsltransform},**/${xalan1},**/${pfmreader}"/> + </target> + + <target name="prepare-trax" if="trax.present"> + <echo message="JAXP1.1 transforms is present. Installing TRaX support"/> + <copydir src="${src.dir}" + dest="${build.src}" + includes="**/${xsltransform},**/${trax}"/> + </target> + + <!-- =================================================================== --> <!-- Prepares the source code --> <!-- =================================================================== --> - <target name="prepare-src" depends="prepare, prepare-xt, prepare-jimi, prepare-jai"> + <target name="prepare-src" depends="prepare, prepare-xt, prepare-jimi, prepare-jai, prepare-xalan1, prepare-trax"> <!-- copy src files --> <copydir src="${src.dir}" dest="${build.src}" - excludes="**/Makefile*, **/package.html, **/XT*,**/PDFOutputHandler.java,**/${jimi},**/${jai}"/> + excludes="**/Makefile*, **/package.html, **/XT*,**/PDFOutputHandler.java,**/${jimi},**/${jai},**/${pfmreader}"/> </target> <!-- =================================================================== --> @@ -422,7 +448,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <target name="prepare-docs" depends="init"> <mkdir dir="${build.docs}"/> <!-- sets exec permission for antRun on Unix systems. necessary for javadoc--> - <chmod src="${lib.dir}/bin/antRun" perm="ugo+rx" /> + <chmod file="${lib.dir}/bin/antRun" perm="ugo+rx" /> </target> <!-- =================================================================== --> @@ -463,7 +489,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <echo message="Building the distribution files (zip,tar)"/> <mkdir dir="${dist.dir}"/> <copyfile src="${basedir}/build.sh" dest="${dist.dir}/build.sh" /> - <chmod src="${dist.dir}/build.sh" perm="ugo+rx" /> + <chmod file="${dist.dir}/build.sh" perm="ugo+rx" /> <copyfile src="${basedir}/build.bat" dest="${dist.dir}/build.bat" /> <copydir src="${build.dir}" dest="${dist.dir}" excludes="**/classes/**, **/${ignore_this}"/> |