[FYI] RedBridge (JRuby Embed), what are new and improved in JRuby 1.5.0RC1

Hi RedBridge users,

Since the last release, RedBridge (JRuby Embed) had a log of changes.
Some of them might affect on your code. So, please see my blog post,
yokolet's notelets: RedBridge, what are new and improved in JRuby 1.5.0RC1,
for details.

Have fun!
-Yoko


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Very nice, Yoko! Thank you for posting this!

On Sun, Apr 18, 2010 at 8:44 PM, Yoko H. [email protected] wrote:


To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Yoko,

That’s awesome, I’m definitely planning to be a a RedBridge user from
1.5.
Am especially interested in what is planned for supporting OSGI?

Gergo

2010/4/19 Yoko H. [email protected]:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Sun, Apr 18, 2010 at 10:45 PM, Charles Oliver N.
[email protected] wrote:

Very nice, Yoko! Thank you for posting this!

You’re welcome. I’m hoping this will help RedBridge users.
-Yoko

-Yoko
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Mon, Apr 19, 2010 at 8:34 AM, Gergely N. [email protected] wrote:

That’s awesome, I’m definitely planning to be a a RedBridge user from 1.5.
Am especially interested in what is planned for supporting OSGI?

Bug fix, simply. Currently, OSGi application doesn’t work on
RedBridge. If an application has just an activator, it will work. But,
if other classes are needed to run the application, RedBridge will
fail to load such classes. Perhaps, RedBridge should see an OSGi
specific path.

-Yoko

for details.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Yoko H. wrote:

OSGi application doesn’t work on RedBridge.

Sorry could you be more specific, do you mean
a) application code in an OSGI bundle invoke Ruby code which is also
stored in a bundle
b) framework-interfacing code or a full OSGI application cannot be
implemented Ruby: eg. activator, services,etc…

if other classes are needed to run the application, RedBridge will fail to load such classes.

I’ve embedded ruby code into an Eclipse/Equinox OSGI, using all
possible technologies (direct, BSF, JSR223, JRuby Embed), various
versions.
Calling from java to ruby and vice-versa is working fine (ie. option
a. above) from the same and different bundles, too.
That is: using classloader tricks like Eclipse-BuddyPolicy - not sure
how to make that work with vanilla OSGI, though.
If JRuby somehow could do that out of the box, being a well behaved,
generic bundle - that would be great.

Another problem I’ve run into is: in the Java6+JSR223+OSGI
combination, how can the built-in ScriptEngineManager find
JRubyScriptEngine - which is provided by the org.jruby bundle (ie.
walled behind BundleClassLoader).
With Java5 i didn’t have such a problem as I packaged even the base
JSR223 stuff as a bundle, with proper dependencies,classloader
configuration.
I’m just curious - although planning to switch to the new Redbridge
anyway which shall really simplify the story.

Thanks,Gergo

  • Show quoted text -

2010/4/19 Yoko H. [email protected]:

-Yoko

yokolet's notelets: RedBridge, what are new and improved in JRuby 1.5.0RC1,


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email