Re: About JRuby and OSGi

— Den fre 14/5/10 skrev Charles Oliver N. [email protected]:

The JRuby jars we publish have been "bnd"ed so they can be
used with
OSGi, but that’s about as far as we have gone.

You will need one more thing for just basic OSGI support and that is to
completely stop using the context class loader which is unsupported by
OSGI and in fact makes JRuby kind of OSGI hostile (right now it is used
5 places if I do a search in the source). See my other email in this
discussion for more details.

I’m very interested in trying to make JRuby work better in
an OSGi
environment, but I frankly have almost no knowledge of how
OSGi is
structured. You’d definitely have support from JRuby proper
if you
wanted to try to make this work well.

I am willing to help a bit here but I would need the context class
loader issue to disappear in order to develop a prototype.

Maybe you can help us

understand
OSGi’s requirements here.

1st requirement is to NOT use the context class loader. As for other
requirements I am not sure there are any, but I think this is easier to
answer later once I am able to do prototyping.

/Cheers,
Morten


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email