cancel
Showing results for 
Search instead for 
Did you mean: 

Precompile JSPs

dpatri
Champ in-the-making
Champ in-the-making
How would I modify the ant script that generates the war to pre-compile the jsps?

Thanks
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
It depends on how the JSP pre-compilation process works for appserver you are pre-compiling for.

I would imagine the WAR needs exploding first, if this is the case then you could add another dependency on the "incremental-tomcat" target in build.xml. This target could then run the process after the WAR has been deployed.

This is something we are considering adding to the build scripts in the future, but if you get something working, let us know, we could add it sooner  Smiley Very Happy