ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [GUMP] Test Failure - Ant
Date Wed, 15 Jan 2003 15:45:28 GMT
On Fri, 10 Jan 2003, Gus Heck <gus-antdev@cognition.olin.edu> wrote:

> I'm sure nobody looks at a gump report anymore, because it is always
> the same jspc failure.

Starting with the next nag mail, it will be a slightly different jspc
failure 8-)

    [junit] 	at org.apache.tools.ant.taskdefs.optional.JspcTest.testSimple(JspcTest.java:116)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:324)
    [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
    [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
    [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut

> Also, bugs downstream of this test might be accumulating unchecked

There are no bugs downstream as I had manually moved the jspc tests
out of batchtest and made them execute last.

I finally found the reason for "java returned 1".  We had Servlet API
2.2 and JSP 1.1 on the CLASSPATH (due to <depend
project="jakarta-servletapi"/>) while JasperC of Tomcat 4 clearly
wants JSP 1.2.  This is fixed now, buuuuut:

    [junit] Testcase: testSimple took 1,614 sec
    [junit] 	FAILED
    [junit] file simple.java not found
    [junit] junit.framework.AssertionFailedError: file simple.java not found
    [junit] 	at junit.framework.Assert.fail(Assert.java:47)
    [junit] 	at junit.framework.Assert.assertTrue(Assert.java:20)

    [junit] 	at org.apache.tools.ant.taskdefs.optional.JspcTest.assertJavaFileCreated(JspcTest.java:187)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.java:174)

...

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message