aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2002-11-22 18:07:13 +0000
committerJeremias Maerki <jeremias@apache.org>2002-11-22 18:07:13 +0000
commit9d6f4348cca9eb784cf8fdf63a9cfe6d8ab74005 (patch)
tree2939fdb433017826304934a3bf5a7c01e5ff9250 /build.xml
parentfcb1a4a0a53bbedd535d159197634f5ba8bf8a6d (diff)
downloadxmlgraphics-fop-9d6f4348cca9eb784cf8fdf63a9cfe6d8ab74005.tar.gz
xmlgraphics-fop-9d6f4348cca9eb784cf8fdf63a9cfe6d8ab74005.zip
Adjusted to new JARs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195617 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml33
1 files changed, 21 insertions, 12 deletions
diff --git a/build.xml b/build.xml
index 571543047..42e99716e 100644
--- a/build.xml
+++ b/build.xml
@@ -58,8 +58,8 @@ list of possible build targets.
</fileset>
<fileset dir="${basedir}" id="dist.bin.lib">
- <include name="lib/xercesImpl-2.0.1.jar"/>
- <include name="lib/xalan-2.3.1.jar"/>
+ <include name="lib/xercesImpl-2.2.1.jar"/>
+ <include name="lib/xalan-2.4.1.jar"/>
<include name="lib/xml-apis.jar"/>
<include name="lib/batik.jar"/>
<include name="lib/avalon-framework*.jar"/>
@@ -221,9 +221,6 @@ list of possible build targets.
<property name="tools.pkg" value="org/apache/fop/tools"/>
- <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"/>
- <taskdef name="runTest" classname="org.apache.fop.tools.anttasks.RunTest"/>
-
<property name="main.class" value="org.apache.fop.apps.Fop"/>
<filter filtersfile="${build.codegen}/filter" />
@@ -266,13 +263,6 @@ list of possible build targets.
</target>
<!-- =================================================================== -->
- <!-- compiles hyphenation patterns -->
- <!-- =================================================================== -->
- <target name="hyphenation" depends="prepare">
- <serHyph includes="*.xml" sourceDir="./hyph" targetDir="${build.dest}/hyph"/>
- </target>
-
- <!-- =================================================================== -->
<!-- Generate the source code -->
<!-- =================================================================== -->
<target name="codegen" depends="prepare" description="Generates the java files from the xml resources">
@@ -442,6 +432,20 @@ list of possible build targets.
<target name="compile" depends="compile-src,compile-jimi,compile-jai" description="Compiles the source code"/>
<!-- =================================================================== -->
+ <!-- compiles hyphenation patterns -->
+ <!-- =================================================================== -->
+ <target name="hyphenation" depends="prepare">
+ <path id="hyph-classpath">
+ <path refid="libs-build-classpath"/>
+ <pathelement location="${build.dir}/classes"/>
+ </path>
+ <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/>
+ <serHyph includes="*.xml"
+ sourceDir="${hyph.dir}"
+ targetDir="${build.dest}/hyph"/>
+ </target>
+
+ <!-- =================================================================== -->
<!-- Creates the class package -->
<!-- =================================================================== -->
<target name="package" depends="compile,hyphenation" description="Generates the jar files">
@@ -508,6 +512,11 @@ list of possible build targets.
<target name="test" depends="package" description="Runs the test suite">
<echo message="Testing build in jar file ${build.dir}/${name}.jar against reference"/>
<property name="ref-version" value="FOP 1.0dev"/>
+ <path id="testtask-classpath">
+ <path refid="libs-build-classpath"/>
+ <pathelement location="${build.dir}/classes"/>
+ </path>
+ <taskdef name="runTest" classname="org.apache.fop.tools.anttasks.RunTest" classpathref="testtask-classpath"/>
<runTest testSuite="basictests.xml" basedir="test/" reference="test/reference/fop.jar"
refVersion="${ref-version}"/>
<runTest testSuite="bugtests.xml" basedir="test/" reference="test/reference/fop.jar"