TitleTomcat JSP Compilation
Date07-Dec-2004 07:10:04 EET
Version2.1.124-CVS
Submitter66.167.185.204
CriticalityEnhancementRequest
Browser versionSafari
StatusClosedBug
PageProvider usedN/A
Servlet ContainerTomcat 5.1.30
Operating SystemOS X
URLN/A
Java version1.4.2-06

Hi Janne!

I've got a handy little enhancement suggestion for the Ant build script -- a series of targets that pre-compile JSPWiki for Tomcat 4 and 5.

I've amended the build.xml file, and commented the tasks pretty extensively so that it is easy to understand. It should "just work", assuming the user sets the tomcat.home property to the local Tomcat directory.

In addition to the build.xml file changes, the web.xml file needs to include a small "placeholder" comment that my script uses to insert the JSP-to-servlet mappings for the generated classes. This is a one-line addition:

<!-- PLACEHOLDER FOR PRE-COMPILED JSP SERVLETS -->

Thanks!

--Andrew Jaquith


I closed it myself quite a while ago. :) --Andrew Jaquith

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
xml
build.xml 23.3 kB 1 07-Dec-2004 07:12 AndrewJaquith
« This page (revision-5) was last changed on 16-Nov-2005 02:00 by 66.167.249.114