David Corbin wrote:
> Is there an ant-task that will invoke an open-source JSP compiler? I
> assume that tomcat has one it. (I know there is a WebLogic one, but...)
> --
> David Corbin
> [EMAIL PROTECTED]
You can just (Assumes all your JSPs are in ./jsp - modify to needs):
<java classname="org.apache.jasper.JspC" taskname="jspc"
failonerror="true">
<arg value="-d" />
<arg file="jsp" />
<arg value="-webxml" />
<arg file="jsp/web.xml" />
<arg value="-webapp" />
<arg file="jsp" />
<classpath refid="classpath" />
</java>