RE: Using Javac instead of JDT to compile JSPs

2007-06-11 Thread Mark Claassen
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Caldarale, Charles R
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Caldarale, Charles R
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Mark Claassen
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Caldarale, Charles R
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Mark Claassen
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Caldarale, Charles R
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Mark Claassen
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Caldarale, Charles R
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Lakshmi Venkataraman
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

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Lakshmi Venkataraman
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

Re: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Mark Thomas
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