Issue Details (XML | Word | Printable)

Key: JRUBY-3687
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Thomas E Enebo
Reporter: Gordon Mohr
Votes: 5
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
JRuby

Bundle JSR 223 support in JRuby

Created: 22/May/09 02:09 PM   Updated: 30/Sep/09 04:45 PM   Resolved: 30/Sep/09 04:45 PM
Return to search
Component/s: Embedding, Java Integration
Affects Version/s: JRuby 1.3RC1
Fix Version/s: JRuby 1.4

Time Tracking:
Not Specified


 Description  « Hide

Groovy recently bundled JSR-223 (common interface to other scripting languages) to their JAR – so now Groovy "just works" as an available language option once the JAR is on the classpath. (See GROOVY-1594.)

It'd be nice for JRuby to do the same; currently support requires fishing one tiny (~24K) jruby-engine.jar out of a downloadable all-engines-distribution tar.gz from http://scripting.dev.java.net.



Morten Christensen added a comment - 22/May/09 05:31 PM

Yes, I agree. Besides being easier, it would also be easier to ensure that the two versions are in sync that way. Too extra needed code is so tiny that there is really no reason for not doing as far as I see it.


Yoko Harada added a comment - 22/May/09 08:15 PM

I agree, too, though before I didn't think JSR 223 implementation was not necessary to bundle in JRuby. JSR 223 is a generalized API for many scripting languages, which does not always draw 100% power out from JRuby. So, I wrote the two layers implementation, JSR 223 was on the top of a middle layer. Currently, the preliminary middle layer, JRuby Embed API, is availabe to use. JSR 223 implementation on top of JRuby Embed API is missing now, but is easy to write.

Although JSR 223 implementation would be a subset of JRuby Embed API, many people want JSR 223 support by JRuby. Why don't we think about this?
Maybe, org.jruby.embed.jsr223 ?


Charles Oliver Nutter added a comment - 22/May/09 08:19 PM

We have wanted to get 223 in JRuby proper, but to be honest none of us are happy with the current implementation and would like one that we can license according to JRuby's existing licenses and implement the way we want to implement it. We want to work with Yoko to get a new 223 engine built "the right way" and shipped with JRuby before we start including anything and set an expectation on the existing version.

So I'll tell ya what...if we can all work together to get a really solid 223 impl built, we would include it in JRuby 1.4 so it's available for everyone. That gives us a hard goal to reach and a deadline for when we'll reach it. Is that acceptable?


Charles Oliver Nutter made changes - 22/May/09 08:19 PM
Field Original Value New Value
Fix Version/s JRuby 1.4 [ 15285 ]
Morten Christensen added a comment - 23/May/09 03:00 AM

Fine with me to wait until JRuby 1.4 (but with a high priority!). I have a Java/Jruby app using JSR 223 so I can help testing the new version.


Thomas E Enebo added a comment - 30/Sep/09 04:45 PM

jruby-embed landing has added this support!


Thomas E Enebo made changes - 30/Sep/09 04:45 PM
Assignee Thomas E Enebo [ enebo ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]