geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Kashyap" <goyathlay.geron...@gmail.com>
Subject Re: JSP Compiler
Date Wed, 19 Sep 2007 21:43:42 GMT
Geronimo 1.1 used maven1. So it does not have the jspc-maven-plugin.
We used our own precompile goal in geronimo/etc/maven.xml
http://svn.apache.org/viewvc/geronimo/server/tags/1.1.1/etc/maven.xml?revision=447393&view=markup

For an example of how we did it, look at the
geronimo/applications/welcome/maven.xml
http://svn.apache.org/viewvc/geronimo/server/tags/1.1.1/applications/welcome/maven.xml?revision=447393&view=markup

Cheers
Prasad



On 9/19/07, Paul McMahan <paulmcmahan@gmail.com> wrote:
> On Sep 19, 2007, at 8:06 AM, Alessandro PTQS wrote:
>
> > Hi, I'm using Geronimo 1.1 and i want to disable the recompilation
> > of my jsp
> > every time I restart the application or even every time I restart the
> > server.
>
> I would suggest precompiling your jsps.   If you build using maven
> then there is a jspc-maven-plugin that can do this for you.  I think
> there is also a jspc ant task if you use ant.   What these tools
> basically do is generate the java class file for your jsps at build
> time and then insert <servlet> and <servlet-mapping> elements into
> your web.xml so that requests for those jsps are handled by the
> precompiled classes.
>
>
> Best wishes,
> Paul
>

Mime
View raw message