Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 59569 invoked from network); 13 May 2002 17:09:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 May 2002 17:09:54 -0000 Received: (qmail 28975 invoked by uid 97); 13 May 2002 17:09:46 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 28959 invoked by uid 97); 13 May 2002 17:09:45 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 28947 invoked by uid 98); 13 May 2002 17:09:45 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <015501c1faa1$8b771380$1219570f@ranier> From: "Steve Loughran" To: "Ant Users List" References: <5.1.0.14.0.20020513092915.0169a9b0@pop.secretseal.com> Subject: Re: Need working ant example of JspC compiling JSPs for tomcat Date: Mon, 13 May 2002 10:13:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- 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 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 $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: For additional commands, e-mail: