----- Original Message -----
From: "Eric Gilbertson" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Monday, May 13, 2002 9:52 AM
Subject: Need working ant example of JspC compiling JSPs for tomcat


> Hello Ant Experts:
>
> Sorry for the simple question, but can someone point me to a working
> example of ant invoking JspC in order to compile JSPs for Tomcat? I
> have a standard servlet application that running under Tomcat which I
would
> like to modify to use precompiled JSPs. Using the examples found in the
ant
> archives, I get a variety of problems from null JspC pointer exceptions,
to
> the jsp files
> being written to an unexpected location with an unexpected name. An
example
> of the latter is that JspC creates a JSP source file using just the the
jsp
> source
> file root name, while Tomcat expects <FILE_ROOT>$jsp.java. Any examples
> demonstrating how this is done (either using the JspC builtin, or using
> explicit ant
> directives) is greatly appreciated.

I am not sure if that has been done yet. Ant relies on jasperc, and there
are some issues w/ jasperc that mean that I would be very cautious about
such precompilation.

...File all null pointer exceptions as bugreps though, with sample pages and
build files that we can use to recreate them.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to