> From: Mark Claassen [mailto:[EMAIL PROTECTED] 
> Subject: Using Javac instead of JDT to compile JSPs
> 
> The docs say an alternative compiler can be specified, but 
> makes no mention of how to specify it.

Actually, the docs say this:

"The servlet which implements Jasper is configured using init parameters
in your global $CATALINA_BASE/conf/web.xml.

   "* 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 seems to be controlled by settings in the web.xml.  

As explicitly stated in the doc.

> <param-value>com.sun.tools.javac.main.JavaCompiler</param-value>

[Note for Mark T:]
If you're running on Windows, there's a bug in the Tomcat 6.0.13
setclasspath.bat script which checks for tools.jar in the wrong place.
You'll need to include the tools.jar location explicitly in your
CLASSPATH environment variable.  (The problem does not exist in the .sh
version.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to