ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27923] New: - JspC fails to compile with Tomcat Jasper 5.0
Date Wed, 24 Mar 2004 22:49:42 GMT
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: dev@ant.apache.org
        ReportedBy: rickkw@yahoo.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message