98 lines
4.1 KiB
Diff
98 lines
4.1 KiB
Diff
--- xerces-2_6_2/build.xml.old 2004-06-23 22:51:24.713522228 +0300
|
|
+++ xerces-2_6_2/build.xml 2004-06-23 22:51:30.820838826 +0300
|
|
@@ -19,7 +19,8 @@
|
|
<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
|
|
@@ -70,7 +71,7 @@
|
|
<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"/>
|
|
@@ -84,7 +85,6 @@
|
|
<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-1.2.01-src.zip"/>
|
|
|
|
<filter token="year" value="${year}"/>
|
|
<filter token="version" value="${parser.Version}"/>
|
|
@@ -190,19 +190,6 @@
|
|
</fileset>
|
|
</copy>
|
|
|
|
- <!-- now deal with API's: -->
|
|
- <unzip src="${src.apis.zip}" dest="${build.src}">
|
|
- <patternset
|
|
- includes="org/xml/sax/**
|
|
- javax/xml/parsers/**
|
|
- org/w3c/dom/*
|
|
- org/w3c/dom/events/**
|
|
- org/w3c/dom/html/**
|
|
- org/w3c/dom/ranges/**
|
|
- org/w3c/dom/traversal/**"
|
|
- />
|
|
- </unzip>
|
|
-
|
|
<!-- substitute tokens as needed -->
|
|
<replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
|
|
token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>
|
|
@@ -304,7 +291,7 @@
|
|
</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"/>
|
|
@@ -347,7 +334,7 @@
|
|
<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}"/>
|
|
@@ -941,20 +928,6 @@
|
|
<replace file="${build.dir}/src/org/apache/xerces/dom/AttrNSImpl.java"
|
|
token="return ((String)type).getNamespace();" value="return null;"/>
|
|
|
|
- <!-- now deal with API's: -->
|
|
- <unzip src="${src.apis.zip}" dest="${build.src}">
|
|
- <patternset
|
|
- includes="org/xml/sax/**
|
|
- javax/xml/parsers/**
|
|
- org/w3c/dom/*
|
|
- org/w3c/dom/events/**
|
|
- org/w3c/dom/html/**
|
|
- org/w3c/dom/ranges/**
|
|
- org/w3c/dom/traversal/**"
|
|
- />
|
|
- </unzip>
|
|
-
|
|
-
|
|
<!-- substitute tokens as needed -->
|
|
<replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
|
|
token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>
|
|
@@ -1282,7 +1255,7 @@
|
|
|
|
<xjavac srcdir="${build.tests}"
|
|
destdir="${build.dest}"
|
|
- classpath="${build.dir}/dom3-${jar.apis}:${build.dir}/classes:./tools/junit.jar"
|
|
+ classpath="${build.dir}/dom3-${jar.apis}:${build.dir}/classes:${tools.dir}/junit.jar"
|
|
debug="${debug}"
|
|
includeAntRuntime="false"
|
|
includeJavaRuntime="true"/>
|