https://issues.apache.org/bugzilla/show_bug.cgi?id=54461
Bug ID: 54461
Summary: JSP compiler init parameter documented as "compiler",
actually "compilerClassName"
Product: Tomcat 7
Version: 7.0.35
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
This bug exists in Tomcat 6, Tomcat 7 and (presumably) Tomcat 8 (trunk).
See the documentation for JSP compilation:
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html
http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html
There's a configuration option listed in this documentation:
compiler - Which compiler Ant should use to compile JSP pages. See the Ant
documentation for more information. If the value is not set, then the default
Eclipse JDT Java compiler will be used instead of using Ant. No default value.
This does not exist. Creating an init-param with this value has no effect. The
correct init-param is "compilerClassName," not "compiler."
Related, this option is very poorly documented. There is no indication about
what this value should be. Tried com.sun.tools.javac.Main and added tools.jar
to the classpath, but got a class cast exception. It would be nice if this
explained what the proper alternative values are.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]