cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist>
Subject Re: Dynamic reloading of classes
Date Tue, 14 Dec 2004 20:36:49 GMT

On Dec 14, 2004, at 10:29 AM, wrote:

> Environment is cocoon 2.1.6 and bundled jetty.
> When we are developing custom transformers, actions, etc, in java, do 
> we have to
> restart jetty each time we make a change?  We tried using the allow 
> reload
> method but we get a quartz error. (which I can send if there is no 
> other way to
> accomplish this) It would be great if we could just reload our custom 
> classes
> that have changed.

This used to work, but I can't vouch for it in 2.1.6, as I haven't 
tried it yet...

In WEB-INF/cocoon.xconf, find the entry for the FOM flow-interpreter.  
Make sure <reload-scripts>true, and add something like this:


It's actually not reloading classfiles that you have compiled, it's 
lazy-recompiling from source using the bundled Eclipse compiler.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message