<byteit101[m]>
I often have a desire to quickly load a jruby session with certain maven artifacts loaded. it's always a pain to create artifacts so finally got around to creating a maven_require that does just that. This seems like thing that may be useful to more than just me, so was looking at where to put it. I see the jar-dependencies gem has similar things, and I depend on that, so my thoughts are: I could make a new gem, or would jar-dependencies
<byteit101[m]>
want to integrated my method?
<kares[m]>
JarDependencies already has that - did you try smt like: `require_jar 'org.apache.commons:commons-lang3:3.12.0'`
<pboling[m]>
I was reporting this in the issue tracker, and it has a suggestion to bring my issue here. Don't want to add noise to the tracker if I'm missing something obvious.
<headius>
Yeah that is a peculiar error, it does look like it should match fine. No harm opening an issue, even if it just turns out to be something weird with the test
<headius>
pboling: go ahead and open something
<pboling[m]>
merely because this is fascinating to me - I refactored my code, thinking it might be caused by `rescue KeyError; raise KeyError`, and even if I just use the natural initial KeyError the same failure to match the error happens.
<headius>
Maybe something related to encoding of the message
<pboling[m]>
While investigating this, I discovered other bugs in the code. :D The best of rabbit holes.
<byteit101[m]>
you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command
<byteit101[m]>
no such file to load -- org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar (LoadError)
<byteit101[m]>
If i have a jarfile, then that work, but this for no-setup loading
<byteit101[m]>
ie: open an irb session, type something like `maven_require "ch.qos.logback:logback-classic:LATEST"` wait several seconds, and then it's loaded, no other files or configuration necessary
<byteit101[m]>
headius: oh, you wanted me to write a thing on some of the recent changes. a) what medium am I writing for? b) what audience? and c) which things do you want me to cover?
<headius>
Writing for wiki or a post on JRuby blog, for existing users of JRuby Java integration, mostly just covering the enhanced subclass and Java field stuff