DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27923>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27923 JspC fails to compile with Tomcat Jasper 5.0 Summary: JspC fails to compile with Tomcat Jasper 5.0 Product: Ant Version: 1.6.1 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, I am using JBoss 3.2.4RC1 that now uses Tomcat 5.0 as the default. When I precompile JSP using the Jasper JSP compiler that comes with Tomcat 5.0 (jasper-compile.jar, jasper-runtime.jar), I receive the following error about an unrecognized switch. jspc: [jspc] Compiling 12 source files to /output [jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v0. Use -help for help. [jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:307) [jasperc] at org.apache.jasper.JspC.main(JspC.java:231) Apparently, Jasper 5.0 does not accept -v0 as an argument (It does support -v, however), and JspC sets '-v0' argument by default (and no way to turn it off). I tried setting 'compiler' to 'jasper50' but JspC does not seem to recognize it. I can move back to compile my JSP using Jasper41, but the compiled servlet blows up (method-not-found-exception) when running on Tomcat 5.0. Thanks, -- Rick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]