stefano 2003/03/01 05:35:53
Modified: src/webapp/WEB-INF cocoon.xconf
Log:
changed default XSP compiler to new awesome Eclipse JTD compiler
Revision Changes Path
1.66 +20 -6 xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- cocoon.xconf 28 Feb 2003 14:14:25 -0000 1.65
+++ cocoon.xconf 1 Mar 2003 13:35:53 -0000 1.66
@@ -415,12 +415,26 @@
<!-- A singleton-like implementation of a ClassLoader -->
<parameter name="class-loader"
value="org.apache.cocoon.components.classloader.ClassLoaderManagerImpl"/>
- <!-- Compiler parameter specifies which class to use to compile Java.
- Possible variants are:
- Javac. Requires javac.jar (included with JDK as lib/toools.jar).
- Pizza. Requires pizza.jar (included with Cocoon distribution).
- Jikes. Requires IBM jikes compiler to be present in the PATH -->
- <parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.Pizza"/>
+ <!--+
+ | Specifies which Java compiler to use. Possible variants are:
+ |
+ | - Javac: the java compiler that comes with JDK
+ | - Pizza: the Pizza java compiler
+ | - Jikes: the Jikes java compiler
+ | - EclipseJavaCompiler: the Eclipse JTD java compiler
+ |
+ | NOTE: the Eclipse JTD is the only java compiler that is capable
+ | of imports classes thru the context classloader. All other
+ | compilers import classes from the JVM classpath and might
+ | normally result in ClassNotFound problems at compilation
+ | time. It is *HIGHLY* suggested that you use this compiler
+ | or you might experience problems in some servlet containers.
+ +-->
+ <!--parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.Javac"/-->
+ <!--parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.Pizza"/-->
+ <!--parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.Jikes"/-->
+ <parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler"/>
+
</java-language>
<!-- Interpreted JavaScript language -->