jruby/warbler — pull request #241 by mkristian (2014-02-26 16:28:10+00:00)
Title: jars from jruby.jar itself do not get copied over to WEB-INF/lib and thi...

...ngs work just fine with the vendored jars inside the gems. fix issue https://github.com/jruby/jruby/issues/1435 and others maybe.

currently I just comment out the respective code since there was a reason to include that code. but the problem is that such a copying of jars will divert for example from
$ jruby -S rails server
drastically. I haven't look into how executable jars are packed, i.e. whether they unpack the vendored jars as well.

I think actually the opposite approach would be actually better: to separate the jruby-classloader from its parent classloader, similar what you can configure with servlet-classloader to load its classes first to avoid clashed with the underlying parent-classloader. maven also separates the plugin from each other with the trick.

on the other hand I would not know how to extract the jars from jruby-stdlib-complete or jruby-complete or whatever jruby jars you have configured.

further the current setup duplicates the jars from jruby-jars.gem on fresh rails setup (rails new foobar; cd foobar; warble)

from my personal experience I used a simple maven setup to pack a warfile which always worked on jetty.