You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Geir Magnusson Jr." <ge...@adeptra.com> on 2003/03/04 13:52:54 UTC

Re: [JEXL] - Current CVS head has test failures

On Wednesday, February 26, 2003, at 10:20 AM, Henning P. Schmiedehausen  
wrote:

> Hi,
>
> using the current CVS head:
>
> (Linux, JDK 1.3.1_07, maven 1.0b8):
>
> After fixing the usual "hey, I didn't think that anyone still uses a
> 1.3 JDK" bug [1]:

?

I still use 1.3.1 :)

>
> henning@forge 16:15 ~/jakarta/jakarta-commons/jexl > maven jar:install
> [...]
> test:test:
>     [junit] Running org.apache.commons.jexl.parser.ParserTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.889  
> sec
>     [junit] Running org.apache.commons.jexl.JexlTest
>     [junit] Tests run: 27, Failures: 2, Errors: 5, Time elapsed: 1.307  
> sec
>     [junit] [ERROR] TEST org.apache.commons.jexl.JexlTest FAILED
> Testsuite: org.apache.commons.jexl.JexlTest
> Tests run: 27, Failures: 2, Errors: 5, Time elapsed: 1.307 sec
>
> If you need more information, please contact me. Is there a bug report  
> tool
> for Jexl? Didn't find any reference @ the commons site.
>


I know of the parser bugs, but I don't understand the one you are  
submitting the patch for - I'm curious why that (below) broke...

geir


> 	Regards
> 		Henning
>
> [1] henning@forge 16:14 ~/jakarta/jakarta-commons/jexl > maven  
> jar:install
> [...]
> test:test:
>     [junit] Running org.apache.commons.jexl.parser.ParserTest
>     [junit] Exception in thread "main" java.lang.NoClassDefFoundError:  
> org/w3c/dom/Node
>     [junit]     at java.lang.Class.forName0(Native Method)
>     [junit]     at java.lang.Class.forName(Class.java:115)
>     [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFor 
> matter(FormatterElement.java:183)
>     [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndS 
> toreFormatter(JUnitTestRunner.java:550)
>     [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnit 
> TestRunner.java:495)
>     [junit] [ERROR] TEST org.apache.commons.jexl.parser.ParserTest  
> FAILED
>     [junit] Running org.apache.commons.jexl.JexlTest
>     [junit] Exception in thread "main" java.lang.NoClassDefFoundError:  
> org/w3c/dom/Node
>     [junit]     at java.lang.Class.forName0(Native Method)
>     [junit]     at java.lang.Class.forName(Class.java:115)
>     [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFor 
> matter(FormatterElement.java:183)
>     [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndS 
> toreFormatter(JUnitTestRunner.java:550)
>     [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnit 
> TestRunner.java:495)
>     [junit] [ERROR] TEST org.apache.commons.jexl.JexlTest FAILED
> [...]
>
> Bug Fix is
>
> --- cut ---
> cvs diff project.xml
> Index: project.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-commons/jexl/project.xml,v
> retrieving revision 1.10
> diff -u -r1.10 project.xml
> --- project.xml 5 Feb 2003 19:04:49 -0000       1.10
> +++ project.xml 26 Feb 2003 15:16:34 -0000
> @@ -70,11 +70,21 @@
>    <dependencies>
>      <dependency>
>        <id>junit</id>
> -      <version>3.7</version>
> +      <version>3.8.1</version>
>      </dependency>
>      <dependency>
>        <id>commons-logging</id>
>        <version>1.0</version>
> +    </dependency>
> +    <dependency>
> +      <id>xml-apis</id>
> +      <version>1.0.b2</version>
> +      <url>http://xml.apache.org/xerces2-j/</url>
> +    </dependency>
> +    <dependency>
> +      <id>xerces</id>
> +      <version>2.2.1</version>
> +      <url>http://xml.apache.org/xerces2-j/</url>
>      </dependency>
>    </dependencies>
> --- cut ---
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
> Java, perl, Solaris, Linux, xSP Consulting, Web Services
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-247-1713(m)
geirm@adeptra.com


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org