59 lines
2.8 KiB
Diff
59 lines
2.8 KiB
Diff
Index: xerces-2_7_1/build.xml
|
|
===================================================================
|
|
--- xerces-2_7_1.orig/build.xml
|
|
+++ xerces-2_7_1/build.xml
|
|
@@ -19,7 +19,8 @@ Copyright:
|
|
<project default="usage" basedir=".">
|
|
|
|
<!-- enable compilation under IBM JDK 1.4 -->
|
|
- <taskdef name="xjavac" classname="org.apache.xerces.util.XJavac"/>
|
|
+ <taskdef name="xjavac" classname="org.apache.xerces.util.XJavac"
|
|
+ classpath="./tools/bin/xjavac.jar"/>
|
|
|
|
<!-- Allow properties following these statements to be overridden -->
|
|
<!-- Note that all of these don't have to exist. They've just been defined
|
|
@@ -69,7 +70,7 @@ Copyright:
|
|
<property name="packages" value="org.*"/>
|
|
|
|
<property name="doc.generator" value="org.apache.stylebook.StyleBook"/>
|
|
- <property name="doc.generator.package" value="${tools.dir}/stylebook-1.0-b2.jar"/>
|
|
+ <property name="doc.generator.package" value="./tools/stylebook-1.0-b2.jar"/>
|
|
|
|
<property name="build.dir" value="./build"/>
|
|
<property name="build.src" value="${build.dir}/src"/>
|
|
@@ -83,7 +84,7 @@ Copyright:
|
|
<property name="distsrc.dir" value="${build.dir}/${parser.shortname}-${parser_version}"/>
|
|
<property name="disttools.dir" value="${build.dir}/tools"/>
|
|
<property name="distbin.dir" value="${build.dir}/${parser.shortname}-${parser_version}"/>
|
|
- <property name='src.apis.zip' value="${tools.dir}/xml-commons-external-src.zip"/>
|
|
+ <property name='src.apis.zip' value="./tools/xml-commons-external-src.zip"/>
|
|
|
|
<filter token="year" value="${year}"/>
|
|
<filter token="version" value="${parser.Version}"/>
|
|
@@ -311,7 +312,7 @@ Copyright:
|
|
</copy>
|
|
<xjavac srcdir="${build.tests}"
|
|
destdir="${build.dest}"
|
|
- classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:./tools/junit.jar"
|
|
+ classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:${tools.dir}/junit.jar"
|
|
debug="${debug}"
|
|
includeAntRuntime="false"
|
|
includeJavaRuntime="true"/>
|
|
@@ -354,7 +355,7 @@ Copyright:
|
|
<target name="docs" depends="prepare, prepare-docs">
|
|
<echo message="Building docs for ${parser.Name} ${parser.Version} ..." />
|
|
<java fork="yes"
|
|
- classpath="${java.class.path}:${doc.generator.package}:./tools/xalan.jar"
|
|
+ classpath="${java.class.path}:${doc.generator.package}:${tools.dir}/xalan.jar"
|
|
classname="${doc.generator}"
|
|
failOnError="yes">
|
|
<arg value="targetDirectory=${build.docs}"/>
|
|
@@ -426,6 +427,7 @@ Copyright:
|
|
|
|
<mkdir dir='${build.dir}/docs/javadocs/xerces2'/>
|
|
<javadoc packagenames='org.apache.xerces.dom.*,
|
|
+ org.apache.xerces.dom3.*,
|
|
org.apache.xerces.impl.*,
|
|
org.apache.xerces.jaxp.*,
|
|
org.apache.xerces.parsers,
|