Thanks, that seems to have work!
-Original Message-
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 7:41 PM
To: Tomcat Users List
Subject: RE: Using Javac instead of JDT to compile JSPs
I have been successfully using something other than Jasper in my
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
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Subject: RE: Using Javac instead of JDT to compile JSPs
param-valuecom.sun.tools.javac.main.JavaCompiler/param-value
That appears to be the wrong class. Try just com.sun.tools.javac.Main
instead (note capitalization).
One of my servlets
mmons-logging-api.jar
Thanks again,
Mark
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 1:10 PM
To: Tomcat Users List
Subject: RE: Using Javac instead of JDT to compile JSPs
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Subject: Using
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Subject: RE: Using Javac instead of JDT to compile JSPs
Even with this fix, neither of the values below worked.
param-valuecom.sun.tools.javac.main.Main/param-value
Again, that's not the right class; from the previous message:
Try
Users List
Subject: RE: Using Javac instead of JDT to compile JSPs
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Subject: RE: Using Javac instead of JDT to compile JSPs
Even with this fix, neither of the values below worked.
param-valuecom.sun.tools.javac.main.Main/param-value
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Subject: RE: Using Javac instead of JDT to compile JSPs
param-namecompiler/param-name
Looking at the code in org.apache.jasper.EmbeddedServletOptions, it
appears the parameter name should be compilerClassName rather than
compiler
it. Still, I may investigate
it further this weekend.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 4:23 PM
To: Tomcat Users List
Subject: RE: Using Javac instead of JDT to compile JSPs
From: Mark Claassen [mailto:[EMAIL PROTECTED
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Subject: RE: Using Javac instead of JDT to compile JSPs
Looking at the source, the Compiler needs to be a:
org.apache.jasper.compiler.Compiler, which, clearly, javac is not.
I'm guessing this comment in the code is propbably pertinent
I have been successfully using something other than Jasper in my
development enviroment.
This is what I did:
1) Remove jasper-compiler-jdt.jar from CATALINA_HOME/common/lib
2) Add JDK_HOME/lib/tools.jar in CATALINA_HOME/common/lib
3) Add ant.jar also to CATALINA_HOME/common/lib. The ant.jat that
CORRECTION: In step 5, I mean servlet-mapping and NOT servlet-name.
-Original Message-
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 4:41 PM
To: Tomcat Users List
Subject: RE: Using Javac instead of JDT to compile JSPs
I have been successfully using
Caldarale, Charles R wrote:
[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
12 matches
Mail list logo