geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Kashyap (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1904) Precompile JSPs for all apps by default
Date Tue, 25 Apr 2006 17:13:06 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-1904?page=comments#action_12376294 ] 

Prasad Kashyap commented on GERONIMO-1904:
------------------------------------------

Though the JIRA title talks about precompiling all apps by default, the apps that need their
JSPs precompiled should include the following lines in their maven.xml

<postGoal name="war:webapp">
      <attainGoal name="preCompile"/>
 </postGoal>

and include the following dependencies as seen in applications/welcome/project.xml.

It is because of these dependencies that maven.xml needs to explicitly attainGoal="precompile".


In M2, we shall include these dependencies in the application/pom.xml so that all apps under
it will precompile JSPs automatically, "by default".

> Precompile JSPs for all apps by default
> ---------------------------------------
>
>          Key: GERONIMO-1904
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1904
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.1
>     Reporter: Prasad Kashyap
>     Assignee: Dain Sundstrom
>      Fix For: 1.1
>  Attachments: jsp-precompile-apply-me.patch, jsp-precompile_for_all.patch
>
> Here's a patch that will precompile jsps for all apps by default.
> This patch also removes the jasper jars (compiler and runtime) from being bundled with
the console. These jars exist in the repo anyways. Paul verified that the console runs successfully
without these. Moreover these 2 jars were being bundled in 2 war modules, console-standard
and console-framework. We should be able to get rid of close to 2MB of redundant jars.
> http://www.mail-archive.com/dev@geronimo.apache.org/msg20940.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message