We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup jars with gems
mkdir -p other/specifications mkdir -p myjar/specifications touch other/specifications/other.gemspec touch myjar/specifications/some.gemspec ls -1 other/specifications/ > other/specifications/.jrubydir ls -1 myjar/specifications/ > myjar/specifications/.jrubydir cd other; jar -cf ../other.jar specifications;cd - cd myjar; jar -cf ../myjar.jar specifications;cd -
using the commandline gives
$ bin/jruby -J-cp other.jar -e "require './myjar.jar';p Dir['uri:classloader:/specifications/*'];puts; JRuby.runtime.jruby_class_loader.get_resources('specifications').each { |u| p Dir[ 'uri:' + u.to_s + '/*' ] }" ["uri:classloader:/specifications/other.gemspec", "uri:classloader:/specifications/some.gemspec"] ["uri:jar:file:/Users/cmeier/projects/active/jruby17/other.jar!/specifications/other.gemspec"] ["uri:jar:file:/Users/cmeier/projects/active/jruby17/myjar.jar!/specifications/some.gemspec"]
but with jruby-complete.jar
$ java -cp maven/jruby-complete/target/jruby-complete-1.7.23-SNAPSHOT.jar:other.jar org.jruby.Main -e "require './myjar.jar';p Dir['uri:classloader:/specifications/*'];puts; JRuby.runtime.jruby_class_loader.get_resources('specifications').each { |u| p Dir[ 'uri:' + u.to_s + '/*' ] }" ["uri:classloader:/specifications/other.gemspec"] ["uri:jar:file:/Users/cmeier/projects/active/jruby17/other.jar!/specifications/other.gemspec"] ["uri:jar:file:/Users/cmeier/projects/active/jruby17/myjar.jar!/specifications/some.gemspec"]
i.e. the resolution of "uri:classloader://specifications/*" misses out some resources from JRubyClassLoader
The text was updated successfully, but these errors were encountered:
@mkristian This is fixed now right?
Sorry, something went wrong.
mkristian
No branches or pull requests
setup jars with gems
using the commandline gives
but with jruby-complete.jar
i.e. the resolution of "uri:classloader://specifications/*" misses out some resources from JRubyClassLoader
The text was updated successfully, but these errors were encountered: