ok, new problem is tractable. the issue is that tomcat4.1 produces simple_jsp.java
we need to add a new name mapper and switch it in to jasper, leaving the old one around. We end up breaking support for people running older versions of tomcat though, at least as far as dependency checking and the unit tests. ----- Original Message ----- From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 07:45 Subject: Re: [GUMP] Test Failure - Ant > On Fri, 10 Jan 2003, Gus Heck <[EMAIL PROTECTED]> 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(JUnitTestRu nner.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(JspcTe st.java:187) > [junit] at org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.j ava:174) > > ... > > Stefan > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
