elena 2002/12/11 08:24:09
Modified: java build.xml
Log:
Update the build to incorporate changes for the DOMConfiguration.
Revision Changes Path
1.106 +27 -16 xml-xerces/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/build.xml,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- build.xml 13 Nov 2002 20:48:43 -0000 1.105
+++ build.xml 11 Dec 2002 16:24:08 -0000 1.106
@@ -280,7 +280,7 @@
<mkdir dir="${build.tests}"/>
<copy todir="${build.tests}">
<fileset dir="${tests.dir}"
- excludes="dom/rename/**, dom/dom3/**, dom/registry/**, dom/mem/**" />
+ excludes="dom/rename/**, dom/dom3/**, dom/registry/**" />
</copy>
<xjavac srcdir="${build.tests}"
destdir="${build.dest}"
@@ -660,6 +660,13 @@
classname="dom.DTest"
failOnError="yes">
</java>
+ <echo message="Running dom.mem.Test ..." />
+ <java fork="yes"
+ classpath="${build.dir}/classes"
+ classname="dom.mem.Test"
+ failOnError="yes">
+ </java>
+
<echo message="Running dom.ids.Test ..." />
<java fork="yes"
classpath="${build.dir}/classes"
@@ -668,11 +675,10 @@
</java>
<echo message="Running dom.serialization.Test ..." />
<java fork="yes"
- classpath="${build.dir}/classes"
+ classpath="${build.dir}/classes"
classname="dom.serialization.Test"
- failOnError="yes"
- args="${data.dir}/personal.xml out.xml">
-
+ failOnError="yes">
+ <arg value="${data.dir}/personal.xml out.xml"/>
</java>
</target>
@@ -979,12 +985,15 @@
<!-- DOM level 3 hack: replace import statements-->
- <replace file="${build.src}/org/apache/xerces/dom/NodeImpl.java"
- token="org.apache.xerces.dom3" value="org.w3c.dom"/>
+ <replace file="${build.src}/org/apache/xerces/dom/NodeImpl.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xerces/dom/DocumentImpl.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xerces/dom/DOMNormalizer.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
+ <replace file="${build.src}/org/apache/xerces/dom/DOMConfigurationImpl.java"
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
+ <replace file="${build.src}/org/apache/xerces/dom/PSVIDocumentImpl.java"
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xerces/dom/DOMLocatorImpl.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace
file="${build.src}/org/apache/xerces/dom/DOMImplementationSourceImpl.java"
@@ -992,21 +1001,17 @@
<replace file="${build.src}/org/apache/xerces/dom/DOMErrorImpl.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xerces/dom/CoreDocumentImpl.java"
- token="org.apache.xerces.dom3" value="org.w3c.dom"/>
-
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xerces/parsers/DOMBuilderImpl.java"
- token="org.apache.xerces.dom3" value="org.w3c.dom"/>
-
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xerces/util/DOMErrorHandlerWrapper.java"
- token="org.apache.xerces.dom3" value="org.w3c.dom"/>
-
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xml/serialize/XMLSerializer.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xml/serialize/BaseMarkupSerializer.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/apache/xml/serialize/DOMWriterImpl.java"
- token="org.apache.xerces.dom3" value="org.w3c.dom"/>
-
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/w3c/dom/ls/DOMWriter.java"
token="org.apache.xerces.dom3" value="org.w3c.dom"/>
<replace file="${build.src}/org/w3c/dom/ls/ParseErrorEvent.java"
@@ -1049,6 +1054,9 @@
<replace file="${build.samples}/dom/ASBuilder.java"
token="org.apache.xerces.dom3.DOMErrorHandler"
value="org.w3c.dom.DOMErrorHandler"/>
+
+ <replace file="${build.samples}/dom/ASBuilder.java"
+ token="org.apache.xerces.dom3.DOMConfiguration"
value="org.w3c.dom.DOMConfiguration"/>
<xjavac srcdir="${build.samples}"
@@ -1070,6 +1078,9 @@
<copy todir="${build.tests}">
<fileset dir="${tests.dir}" />
</copy>
+ <replace file="${build.tests}/dom/mem/Test.java"
+ token="org.apache.xerces.dom3" value="org.w3c.dom"/>
+
<xjavac srcdir="${build.tests}"
destdir="${build.dest}"
classpath="${build.dir}/classes:./tools/junit.jar"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]