Pre-compile all JSP pages before releases
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
The bug in #2143 got me thinking that it would be nice if there was a way to check that all JSP files compile without error before making a release. We already have the CompileAll servlet in web.xml which can do this but we get no information about code that is using deprecated methods or other warnings.
To my surprise I also found a very old commit  which added an ant task for compiling the JSP pages. It turns out that it is still present in build.xml under the name
web.jsp. It still works if adding
strictQuoteEscaping="false" to the
However, I think we should check the current Tomcat documentation and see if we can improve it.
We should also add a point in the release instructions to perform this check.