You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by rbaumhof <ra...@web.de> on 2008/07/14 10:56:23 UTC

Prevent Jasper from compile JSP pages on redeploying the application

Hello,

we develop our application with eclipse and an ant build script copyies the
new ear file to the geronimo deploy directory. This of course works very
fine, but after each redeploy all jsp pages must be recompiled by jasper
(when we first call the page). This takes a lot of time, each complie takes
about 15-25 seconds. So i need about 1/12 - 2 minutes until i reach the page
i'am currently working on. When i remind my development with jboss some
years ago i think jboss used a timestamp and only compiled the new pages
which changed since the last redeploy. Is there any possibility to use such
a feature within geronimo??

thanks in advance
-- 
View this message in context: http://www.nabble.com/Prevent-Jasper-from-compile-JSP-pages-on-redeploying-the-application-tp18439867s134p18439867.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Prevent Jasper from compile JSP pages on redeploying the application

Posted by Kevan Miller <ke...@gmail.com>.
On Jul 14, 2008, at 4:56 AM, rbaumhof wrote:

>
> Hello,
>
> we develop our application with eclipse and an ant build script  
> copyies the
> new ear file to the geronimo deploy directory. This of course works  
> very
> fine, but after each redeploy all jsp pages must be recompiled by  
> jasper
> (when we first call the page). This takes a lot of time, each  
> complie takes
> about 15-25 seconds. So i need about 1/12 - 2 minutes until i reach  
> the page
> i'am currently working on. When i remind my development with jboss  
> some
> years ago i think jboss used a timestamp and only compiled the new  
> pages
> which changed since the last redeploy. Is there any possibility to  
> use such
> a feature within geronimo??

I can see that would be painful. Pre-compiling your JSP pages at build  
time is the only suggestion that I have, at the moment... Would  
increase your build time, but should decrease your test time delays.

--kevan