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 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 pro

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Lakshmi Venkataraman
CORRECTION: In step 5, I mean and NOT . -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 something other than Jasper

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 /common/lib 2) Add /lib/tools.jar in /common/lib 3) Add ant.jar also to /common/lib. The ant.jat that was compatible with Tomcat5.5.23 was apache-

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

RE: Using Javac instead of JDT to compile JSPs

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

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 > > compiler 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
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. > com.sun.tools.javac.main.Main Again, that's not the right class; from t

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. > com.sun.tools.javac.main.Main Again, that's not the right class; from the previou

RE: Using Javac instead of JDT to compile JSPs

2007-06-08 Thread Mark Claassen
PM To: Tomcat 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 > > com.sun.tools.javac.main.JavaCompiler That appears to be the wrong class. Try just com.sun.tools.j

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 > > com.sun.tools.javac.main.JavaCompiler 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
/co 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] > Subj

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 in