File xmlbeans-2.1.0-build_xml.patch of Package xmlbeans

--- build.xml.orig	2005-10-27 22:22:56.000000000 +0200
+++ build.xml	2006-01-23 21:32:53.000000000 +0100
@@ -81,9 +81,11 @@
     <property environment="env"/>
     <target name="saxon.find1" if="env.XMLBEANS_EXTERNALS">
       <property name="saxon_jar" value="${env.XMLBEANS_EXTERNALS}/saxon8.jar"/>
+      <property name="saxon_xpath_jar" value="${env.XMLBEANS_EXTERNALS}/saxon8-xpath.jar"/>
     </target>
     <target name="saxon.find2">
       <property name="saxon_jar" value="build/lib/saxon8.jar"/>
+      <property name="saxon_xpath_jar" value="build/lib/saxon8-xpath.jar"/>
     </target>
 
     <target name="check.saxon8.jar" depends="saxon.find1,saxon.find2">
@@ -275,6 +277,11 @@
 
     <!-- javadocs ====================================================== -->
 
+    <path id="javadoc.path">
+        <pathelement location="build/lib/jsr173_1.0_api.jar"/>
+    </path>
+    <property name="javadoc.path" refid="javadoc.path"/>
+
     <!-- All docs to build/docs, including guide and javadocs. -->
 
     <target name="docs" depends="xbean">
@@ -284,7 +291,7 @@
         <javadoc packagenames="*" sourcepath="src/xmlpublic"
             classpath="${javadoc.path}" destdir="${docs.dir}/reference"
             windowtitle="XMLBeans ${version.base} Documentation" source="${javac.source}" stylesheetfile="docs/stylesheet.css">
-            <link href="http://xmlbeans.apache.org/${version.base}/docs/reference/index.html"/>
+            <link href="http://xmlbeans.apache.org/docs/${version.base}/reference/"/>
             <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
             <link href="http://java.sun.com/j2ee/1.4/docs/api/"/>
             <link href="http://xml.apache.org/xerces-j/apiDocs/"/>
@@ -430,7 +437,7 @@
                  typeimpl.classes, xmlcomp.classes,
                  store.classes, saaj_api.classes,
                  marshal.classes, xpath.classes, oldxbean.jar, xsdschema.classes,
-                 xmlinputstream.classes, resolver.jar, xbean_xpath.jar,
+                 xmlinputstream.classes, xbean_xpath.jar,
                  piccolo.classes, tools.classes, jamsupport.classes">
         <jar jarfile="build/lib/xbean.jar" index="true">
             <fileset dir="build/classes/xmlpublic"/>
@@ -481,7 +488,7 @@
 
     <!-- xmlpublic target ============================================== -->
 
-    <target name="xmlpublic.classes" depends="dirs, xmlinputstream.classes, jsr173_1.0.jars">
+    <target name="xmlpublic.classes" depends="dirs, xmlinputstream.classes">
         <mkdir dir="build/classes/xmlpublic"/>
         <javac srcdir="src/xmlpublic" destdir="build/classes/xmlpublic" source="${javac.source}" target="${javac.target}" debug="on">
             <classpath>
@@ -533,7 +540,7 @@
 
     <!-- common target ============================================= -->
 
-    <target name="common.classes" depends="dirs, xmlpublic.jar, xmlinputstream.classes, jsr173_1.0.jars">
+    <target name="common.classes" depends="dirs, xmlpublic.jar, xmlinputstream.classes">
         <mkdir dir="build/classes/common"/>
         <javac srcdir="src/common" destdir="build/classes/common" source="${javac.source}" target="${javac.target}" debug="on">
             <classpath>
@@ -575,7 +582,7 @@
 
     <target name="typeimpl.classes" depends="dirs, store.classes,
         repackage.classes, xmlpublic.classes, typeholder.template, typestore.classes, xsdschema.classes,
-        configschema.classes, toolschema.classes, jsr173_1.0.jars, jam.classes">
+        configschema.classes, toolschema.classes, jam.classes">
         <mkdir dir="build/classes/typeimpl"/>
         <javac destdir="build/classes/typeimpl" source="${javac.source}" target="${javac.target}" debug="on">
             <classpath>
@@ -634,7 +641,7 @@
 
     <!-- marshal target =============================================== -->
 
-    <target name="marshal.classes" depends="dirs, typeimpl.classes, xmlpublic.classes, jsr173_1.0.jars">
+    <target name="marshal.classes" depends="dirs, typeimpl.classes, xmlpublic.classes">
         <mkdir dir="build/classes/marshal"/>
         <javac srcdir="src/marshal" destdir="build/classes/marshal" source="${javac.source}" target="${javac.target}" debug="on">
             <classpath>
@@ -771,7 +778,7 @@
         </condition>
     </target>
 
-    <target name="xmlschema.classes" depends="xmlschema.check, xmlpublic.classes, oldxbean.jar, jsr173_1.0.jars" unless="xmlschema.notRequired">
+    <target name="xmlschema.classes" depends="xmlschema.check, xmlpublic.classes, oldxbean.jar" unless="xmlschema.notRequired">
         <delete dir="build/classes/xmlschema"/>
         <delete dir="build/src/xmlschema"/>
         <java classname="${bootstrap_schema_compiler}" classpathref="bootstrap.run.path" fork="true" failonerror="true">
@@ -925,6 +932,7 @@
                 <pathelement location="build/classes/xmlpublic"/>
                 <pathelement location="build/classes/store"/>
                 <pathelement location="${saxon_jar}"/>
+                <pathelement location="${saxon_xpath_jar}"/>
             </classpath>
         </javac>
     </target>
@@ -997,7 +1005,7 @@
     </path>
 
 
-    <target name="drt.classes" depends="dirs,jsr173_1.0.jars">
+    <target name="drt.classes" depends="dirs">
         <mkdir dir="build/private/classes/drt"/>
         <javac
             destdir="build/private/classes/drt"
@@ -1042,7 +1050,7 @@
         </uptodate>
     </target>
 
-    <target name="jam.classes" depends="jam.classes.check, dirs, repackage.classes, jsr173_1.0.jars" unless="jam.classes.notRequired">
+    <target name="jam.classes" depends="jam.classes.check, dirs, repackage.classes" unless="jam.classes.notRequired">
         <delete dir="build/private/jam"/>
         <mkdir dir="build/private/jam"/>
         <unjar src="external/lib/jam-0.1.0-src.jar" dest="build/private/jam"/>