tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sriram N <>
Subject Re: Jasper-compiler woes
Date Mon, 15 Nov 2004 04:19:29 GMT

--- Laconia Data Systems <> wrote:

> All-
> I cannot get jasper compiler to work from Ant
> has this been fixed with any version of Tomcat 5 jasper-compiler.jar?
> If so where is the patch?

Here's how I have used Ant 1.6.x with the JDT compiler.

ant -Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter -lib 
(Assuming that ANT_HOME\bin is in the path, and Eclipse is installed at

I also tried the following:
1. Copy jdtCompilerAdapter.jar from
c:\eclipse\plugins\org.eclipse.jdt.core_3.0.0 to C:\jdtcompiler
2. Copy jasper-compiler-jdt.jar from C:\jakarta-tomcat-5.5.4\common\lib to
3. Run "ant -Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter -lib
c:\jdtcompiler "

Remy's extended the Eclipse JDT Compiler for JSP page compilation. This is the
class org.apache.jasper.compiler.JDTCompiler. You might wish to try using this
class name as the argument to Ant's build.compiler directive.

> Thanks,
> Martin-
-- Sriram

Do you Yahoo!? 
Check out the new Yahoo! Front Page. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message