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
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
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
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-
> 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
. 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
> 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
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
> 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
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
> 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
/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
> 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
13 matches
Mail list logo