You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrew Answer <cr...@mail.ru> on 2001/09/25 14:43:14 UTC

Re[2]: jikes compiler

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:creator0@mail.ru] 
> Sent: Dienstag, 25. September 2001 13:27
> To: cocoon-users@xml.apache.org
> 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:creator0@mail.ru


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re[2]: jikes compiler

Posted by Andrew Answer <cr...@mail.ru>.
Hello Berin,

Thanks, all working! I can see jikes wrapper in cocoon sources
earlier... it's bug in my head :)

Tuesday, September 25, 2001, 7:50:25 PM, you wrote:

> 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:creator0@mail.ru]
>> > Sent: Dienstag, 25. September 2001 13:27
>> > To: cocoon-users@xml.apache.org
>> > 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:creator0@mail.ru
>> 
>> ---------------------------------------------------------------------
>> 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: <co...@xml.apache.org>
>> For additional commands, e-mail: <co...@xml.apache.org>

> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>



-- 
Best regards,
 Andrew                            mailto:creator0@mail.ru


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: jikes compiler

Posted by Berin Loritsch <bl...@apache.org>.
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:creator0@mail.ru]
> > Sent: Dienstag, 25. September 2001 13:27
> > To: cocoon-users@xml.apache.org
> > 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:creator0@mail.ru
> 
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Re[2]: jikes compiler

Posted by Vadim Gritsenko <va...@verizon.net>.
Andrew,

<parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.Jikes"/>

will solve your problem. Please note that you have to have rt.jar in your classpath
in order to use Jikes.

Vadim

> -----Original Message-----
> From: Andrew Answer [mailto:creator0@mail.ru]
> Sent: Tuesday, September 25, 2001 8:43 AM
> To: Henrik Hofmann
> Subject: Re[2]: jikes compiler
> 
> 
> 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:creator0@mail.ru] 
> > Sent: Dienstag, 25. September 2001 13:27
> > To: cocoon-users@xml.apache.org
> > 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:creator0@mail.ru
> 
> 
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
> 

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>