[
https://issues.apache.org/jira/browse/JSPWIKI-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794683#action_12794683
]
Andrew Jaquith commented on JSPWIKI-620:
----------------------------------------
The primary benefit of the precompiled JSPs is that you can deploy the WAR
without unpacking. It is also important for web unit tests (which do not work
at the moment), because pre-compilation speeds them up immensely. 3.0's Ant
scripts were re-written to use precompiled JSPs for this purpose.
I seem to recall a previous discussion on the mailing list. I think the rough
conclusion was that we should always copy JSPs into the WAR regardless of the
pre-compilation setting -- it would also mean the .getResourceAsStream() calls
would succeed, even if the JSPs *were* precompiled.
I do not favor dropping this. However, it would probably be a good idea to
remove it from the 2.8 Ant script. Or we could simply mark this as a known
issue for 2.8.
> templates not copied
> --------------------
>
> Key: JSPWIKI-620
> URL: https://issues.apache.org/jira/browse/JSPWIKI-620
> Project: JSPWiki
> Issue Type: Bug
> Components: Servlet Container/Java compatibility
> Affects Versions: 2.8.3
> Environment: Debian linux, ant 1.7.1, tomcat 6.0.20
> Reporter: Rolf Schumacher
>
> What I did:
> checked out branch 2.8.3 or downloaded source distribution from jspwiki.org,
> built with "ant war" or "ant war-tomcat", unjared to webapps location,
> configuration page is handled properly, restart tomcat, entered
> http://localhost:8080/JSPWiki.
> What I expected:
> to see the Main.txt page
> What I got:
> a blank window
> Workaround:
> manually copied all jsp pages from webdocs/templates/default of the source
> distribution to tomcat/webapps/JSPWiki/templates/default inclunding
> subdirectories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.