id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 2151,Pre-compile all JSP pages before releases,Nicklas Nordborg,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 [source:/tags/3.14/config/dist/web.xml@head:263-276#L261 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 [1990] which added an ant task for compiling the JSP pages. It turns out that it is still [source:/tags/3.14/build.xml@head:812-868#L811 present in build.xml] under the name `web.jsp`. It still works if adding `strictQuoteEscaping=""false""` to the `` command. However, I think we should check the current Tomcat documentation and see if we can improve it. https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html#Web_Application_Compilation We should also add a point in the release instructions to perform this check. ",enhancement,closed,major,BASE 3.15,build,,fixed,,