tomcat-dev mailing list archives

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

--- Laconia Data Systems <webmaster@laconiadatasystems.com> 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 
c:\eclipse\plugins\org.eclipse.jdt.core_3.0.0
(Assuming that ANT_HOME\bin is in the path, and Eclipse is installed at
c:\eclipse).

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
c:\jdtcompiler
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. 
www.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message