Folks,
I'm trying to compile my jsps using the JSPC class using Tomcat 4.1.12 and ANT 1.5.
When running it with the -webapp option, there are no problems, all jsps compile and are placed in the destination dir/package.
But we have a requirement to create different packages so I have created many tasks
that invoke <java classname="org.apache.jasper.JspC"> targeting different directories.
The strage thing is, when using this method, the compiler only compiles every other JSP.The compiler skips every other jsp in this process, this is repeatable. I tried this using command line and no luck. We are using lots of tags and tiles ...
Below is my ant task:
<java classname="org.apache.jasper.JspC"
fork="true"
failonerror="true">
<arg value="-d" />
<arg value="${build.jspc.java.dir}" />
<arg value="-webinc" />
<arg value="${dest.dir}/webinc.xml" />
<arg value="-p" />
<arg value="com.mycompany.jsp.common" />
<arg value="-s" />
<arg value="--" />
<arg value="${web.dir}/jsp/common/*.jsp" />
<classpath> <path refid="compile.classpath"/>
</classpath> </java>
Anyone seen this? Please let me know. if you have more information.
thanks,
-robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: JSPC skips files - Please help Robert Skoczylas
- Re: JSPC skips files - Please help Robert Skoczylas
- Correction ->Re: JSPC skips files - Please he... Robert Skoczylas
