ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Need working ant example of JspC compiling JSPs for tomcat
Date Mon, 13 May 2002 17:13:47 GMT

----- Original Message -----
From: "Eric Gilbertson" <eric.gilbertson@secretseal.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message