Ok, turns out the Jasper2 in jakarta-tomcat-jasper
as well as the Jasper in tomcat 4.0-head are broken.
The Jasper in TC 3.3 works fine, but fails one of the mangling tests.
I'm going to use TC 3.3 Jasper, ignoring the mangling test for now,
to create the tests you requested.
FYI the error in Jasper looks like --
[EMAIL PROTECTED] optional]$ java org.apache.jasper.JspC
-d /usr/local/cvs/jakarta-ant/src/etc/testcases/taskdefs/optional/jsp/java
/usr/local/cvs/jakarta-ant/src/etc/testcases/taskdefs/optional/jsp/simple.jsp
2002-05-20 01:37:21 - ERROR-the file '/simple.jsp' generated the following
general exception: java.lang.NullPointerException
java.lang.NullPointerException
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.jasper.JspC.parseFile(Unknown Source)
at org.apache.jasper.JspC.parseFiles(Unknown Source)
at org.apache.jasper.JspC.main(Unknown Source)
Keith
| -----Original Message-----
| From: Keith Wannamaker [mailto:[EMAIL PROTECTED]
| Sent: Monday, May 20, 2002 1:10 PM
| To: Ant Developers List
| Subject: RE: [PATCH] jspc classloader was RE: classloader for factories
|
|
| Bingo, by running jspc.xml directly I got the real error --
| realized I didn't have all the jasper dependencies in the cp.
| Now working on making an appropriate testcase..
|
| | Wondering if you wouldn't mind running the JspcTest on your
| | box as a quick sanity check for me?
| |
| | Keith
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>