Andrew Answer wrote:


Official answer from a Cocoon Guru:

In order to use Jikes, you have to do three things:

1) Ensure the Jikes executable is in your system PATH.
2) In web.xml enter the path to your rt.jar in your "extra-classpath"
   initial parameter.
3) Set your compiler to "org.apache.cocoon.components.language.programming.java.Jikes"

This will alow Cocoon to find Jikes, for Jikes to find all
the classes it needs, and for Cocoon to know what the Compiler
wrapper class is that it needs to use.

> 
> Hello Henrik,
> 
> It's too simply, but isn't right. Sorry for inexact problem
> decsription.
> Jikes java compiler written by IBM on C++ and compiled under all
> platforms. It's exe file (jikes.exe) under Windows, and i don't know
> how write path to jikes into cocoon.xconf.
> If jikes can be used therefore must be way to set it into config file,
> isn't it?
> http://oss.software.ibm.com/developerworks/opensource/jikes/
> - homepage of Jikes.
> 
> Tuesday, September 25, 2001, 6:45:55 PM, you wrote:
> 
> > -----Original Message-----
> > From: Andrew Answer [mailto:[EMAIL PROTECTED]]
> > Sent: Dienstag, 25. September 2001 13:27
> > To: [EMAIL PROTECTED]
> > Subject: jikes compiler
> 
> > Hello cocoon-users,
> 
> >   how to use IBM jikes compiler instead of javac?
> > cocoon.xconf:
> > <!--
> > <parameter name="compiler"
> > value="org.apache.cocoon.components.language.programming.java.Javac"/>
> -->>
> > <parameter name="compiler" value="Jikes"/> not work.
> > [ java.lang.ClassNotFoundException: Jikes ]
> 
> --
> Best regards,
>  Andrew                            mailto:[EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to