Precompile JSPs

To precompile JSP files using Tomcat. This is helpful for when testing a failed precompile on the Portal deployment.

Example jspc.xml
             .       <fileset dir="${webapp.path}\WEB-INF\lib"> <include name="*.jar"/> <pathelement location="${tomcat.home}\common\classes"/> <fileset dir="${tomcat.home}\common\lib"> <include name="*.jar"/> <pathelement location="${tomcat.home}\shared\classes"/> <fileset dir="${tomcat.home}\shared\lib"> <include name="*.jar"/> <include name="**" /> <exclude name="tags/**" /> <target name="all" depends="jspc,compile"> <delete dir="${webapp.path}" /> <target name="unzip" depends="clean"> <mkdir dir="${webapp.path}"/> <unzip encoding="ASCII" src="myapplication.war" dest="${webapp.path}"/>

Building
ant -f jspf.xml unzip, all

ant -f jspf.xml unzip ant -f jspf.xml ant -f jspf.xml clean