This fixes 2 bugs in build.xml:
1. in JSDK1.4 org/w3c/dom/events/Event is present in rt.jar, so this 
can't be used for JAR detection
2. Absense of xmlParserAPIs.jar was not correctly detected

Cheers
Andrus
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-torque/build.xml,v
retrieving revision 1.32
diff -u -r1.32 build.xml
--- build.xml   1 Feb 2002 01:05:36 -0000       1.32
+++ build.xml   3 Feb 2002 06:18:24 -0000
@@ -116,7 +116,7 @@
     />
 
     <available
-      classname="org/w3c/dom/events/Event"
+      classname="org.w3c.dom.ranges.DocumentRange"
       property="xmlParserAPIs.present"
       classpathref="classpath"
     />
@@ -173,8 +173,7 @@
   </target>
 
   <target
-    name="check.xerces"
-    unless="xerces.present">
+    name="check.xerces">
 
     <antcall target="check.xercesImpl"/>
     <antcall target="check.xmlParserAPIs"/>
@@ -193,7 +192,6 @@
   <target
     name="check.xmlParserAPIs"
     unless="xmlParserAPIs.present">
-
     <antcall target="property-warning">
       <param name="name" value="xmlParserAPIs.jar"/>
       <param name="value" value="${xmlParserAPIs.jar}"/>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to