You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2002/02/03 07:11:58 UTC

[PATCH] Incorrect detection of xmlParserAPIs.jar

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

Re: [PATCH] Incorrect detection of xmlParserAPIs.jar

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Done, thanks Andrus.

Andrus Adamchik <an...@objectstyle.org> writes:

> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>