cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Experimental per-sitemap reloadable classloader
Date Sun, 27 Mar 2005 22:37:48 GMT
Torsten Curdt wrote:

>Torsten Curdt wrote:
>>>The only thing missing is the automatic reload of classes (you still
>>>need to touch the sitemap, which I sometimes forget),
>>Nah... almost there. Will finish that up over Easter.
>Tadaaa! :)
>...ok - now if you use the "classpath" directive
>the ConcreteTreeProcessor will be subscribed
>to the SitemapMonitor.
>The SitemapMonitor uses the jci FilesystemAlterationMonitor
>to monitor the given resources. It's now a single thread
>checking every few seconds. Filesystem changes will mark
>the ConcreteTreeProcessor to be replaced on the next request.
>So just point it to you eclipse build directory and
>you don't need to bother about the reloads anymore :)

Yeah, easter gift! Thanks mate!

>Sylvain, I noticed a problem with the classpath
>directive though. As soon as I have component
>declaration in the map:components section I get
>an exception:
>A DefaultServiceSelector can only be hosted by a CoreServiceManager

?? Can you elaborate? What kind of component are you adding? Do you have 
a stacktrace?


Sylvain Wallez                        Anyware Technologies  
Apache Software Foundation Member     Research & Technology Director

View raw message