cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: Introducing IOC for Java classes created in flowscript
Date Fri, 13 Feb 2004 10:27:36 GMT
Leszek Gawron wrote:

>>-----Original Message-----
>>From: Christopher Oliver []
>>Sent: Friday, November 21, 2003 5:47 PM
>>Subject: Re: Introducing IOC for Java classes created in flowscript
>>See in the example package of
>> It provides a
>>CompilingClassLoader that implements findClass() by using the Eclipse
>>java compiler to compile source files. By combining this with Rhino's
>>ability to dynamically use custom classloaders (see
>> "Scripting classes from any
>>class loader") you should be able to create a Flowscript development
>>environment that doesn't require the explicit use of javac.
>I am a little behind with mailing list..
> - this address is no
>longer valid (host not found?). Where can I find this file? 
You no longer need it, as it is in CVS already - and therefore in 2.1.4 
release. To use the compiling classloader, edit the cocoon.xconf, find 
//flow-interpreters/component-instance[@name='javascript']. Add in a 
node <classpath>xxxx</classpath> that specifies the path to your java 
source code. Restart your servlet container once, and from then on, you 
will not need to restart your container, classes will be recompiled on 
demand. Well cool!

I take it that is what you are after.

Regards, Upayavira

View raw message