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
(Key='DefaultServiceSelector')



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


Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director



Reply via email to