Re: Jasper-compiler woes
Thank You that worked- although with the JDTCompilerAdapter I dont see any error messages just 0 length java files?? This frosts my shorts because 2 years ago I used JspC extensively for Jasper compiler with extensive debugging and error logging now I find jasper-compiler.jar JspC ant interface is broken... Thanks again, Martin - Original Message - From: Sriram N [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Sunday, November 14, 2004 11:19 PM Subject: Re: Jasper-compiler woes --- Laconia Data Systems [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jasper-compiler woes
I was using JspC from jasper-compiler.jar I'll try again with JDT Compiler Thanks, Martin- - Original Message - From: Sriram N [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Sunday, November 14, 2004 11:19 PM Subject: Re: Jasper-compiler woes --- Laconia Data Systems [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jasper-compiler woes
--- Laconia Data Systems [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]