ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
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" <>
To: "Ant Users List" <>
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
> like to modify to use precompiled JSPs. Using the examples found in the
> archives, I get a variety of problems from null JspC pointer exceptions,
> the jsp files
> being written to an unexpected location with an unexpected name. An
> of the latter is that JspC creates a JSP source file using just the the
> source
> file root name, while Tomcat expects <FILE_ROOT>$ 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:   <>
For additional commands, e-mail: <>

View raw message