warbler icon indicating copy to clipboard operation
warbler copied to clipboard

embed the jars from jbundler to keep the classloading semantics

Open mkristian opened this issue 11 years ago • 1 comments

embed the jars from jbundler to keep the classloading semantics.

jbundler does load the jars from JARS_HOME and loading jars like this means they get loaded into the JRubyClassloader and each runtime has its own JRubyClassLoader. adding the jars to WEB-INF/lib means basically loading the jars in parent classloader of the JRubyClassLoader, which is the same classloader which loaded jruby itself.

to stay more in line with jruby commandline execution we should keep the classloading semantic as well.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7624360-embed-the-jars-from-jbundler-to-keep-the-classloading-semantics?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).

mkristian avatar Jan 09 '15 20:01 mkristian

:+1: good idea

swistaczek avatar Apr 19 '15 12:04 swistaczek