hi is there a chance to get the modular jruby artifacts running on osgi - do all the dependent jar be osgi for that ? I am rather new to osgi ;) so excuse my ignorance !
On Tue, Sep 17, 2013 at 4:49 PM, Anthony Juckel <ajuc...@gmail.com> wrote: > Ah, very right. Now I see your commits from last week. I am surprised > that Felix 2 is apparently broken now. I can try looking at that, time > permitting, but that's pretty low on my list. > I am happy to add felix2 and equinox to the ITs the equinox not sure if I just deleted it or whether it was still there when I touched the pom.xml > I believe the OSGi jruby classloader will handle embedded jars just fine, > but if there's a particular class or gem you'd like tested, I could add > that. > the helloworld test just "require 'openssl'" to ensure the ssl stuff is in place - might me an addition to the osgi test as well - christian The current test simply ensures we can: > > 1) Load OSGiScriptingContainer > 2) Can java_import a class not shipped with JRuby (as long as a bundle > that can see it was given as a parameter to the scripting container). > 3) Can actually call a method on that imported class. > > Also, the profiles on the original jruby-osgi-test allowed running the > tests under either equinox, felix4 or felix2. > On Sep 17, 2013 9:37 AM, "christian" <m.krist...@web.de> wrote: > >> great that there is someone with osgi knowhow looking at that ;) >> >> but I have the feeling you missed the current state of osgi: >> >> $ mvn -Pcomplete >> >> will run the osgi IT which is now in >> maven/jruby-complete/src/it/osgi-test >> which is just copy and paste of the old code with some adjustments to get >> it pass. whether passing that test means a lot I do not know. >> >> the bouncy-castle jars are bundled within the META-INF/jruby.home along >> with a number of other jars - not sure what the issue there is but any gem >> with jars will have the same issue - the jruby-classloader loading a >> vendored jar. >> >> >> so it would be great to use the integration test from jruby-complete as a >> starting point. >> >> - christian >> >> >>