|Title|Tomcat JSP Compilation
|Date|07-Dec-2004 07:10:04 EET
|Version|2.1.124-CVS
|Submitter|66.167.185.204
|Criticality|EnhancementRequest
|Browser version|Safari
|Status|ClosedBug
|[PageProvider] used|N/A
|Servlet Container|Tomcat 5.1.30
|Operating System|OS X
|URL|N/A
|Java version|1.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