<GitHub42>
[jruby] headius opened issue #3666: NKF still uses Charset transcoding rather than jcodings https://git.io/vgy9Q
shellac has joined #jruby
shellac has quit [Client Quit]
d-snp has joined #jruby
<d-snp>
hi, I'm on windows, trying to call into some .jar file that is in ".\lib", I'm trying: mirror = Java::Bwapi::Mirror.new, but I get "cannot load Java class bwapi.Mirror"
<d-snp>
this is because the jar file isn't correctly loaded right?
<d-snp>
ok it worked when I dit explicit require on ".\lib\filename.jar"
<d-snp>
from the documentation I inferred that adding ".\lib" to the load path would work, shouldn't it?
shellac has joined #jruby
<d-snp>
the next error is "Can't find dependent libraries"
shellac has quit [Quit: Computer has gone to sleep.]
<GitHub12>
[jruby] chrisseaton pushed 5 new commits to master: https://git.io/vgypE
<GitHub12>
jruby/master bc0514d Chris Seaton: [Truffle] Remove dead code.
<GitHub12>
jruby/master ce52aa6 Chris Seaton: [Truffle] Tidy up RubyNode.
<GitHub12>
jruby/master cf1d165 Chris Seaton: [Truffle] Make the MemoryManager part of the NativePlatform, and provide a minimal implementation for Java.
<GitHub2>
[jruby] chrisseaton pushed 4 new commits to master: https://git.io/vgyh6
<GitHub2>
jruby/master a46cb33 Chris Seaton: [Truffle] Tidy up RubyRootNode.
<GitHub2>
jruby/master 530b0f4 Chris Seaton: [Truffle] Tidy up LazyRubyRootNode
<GitHub2>
jruby/master 673a4c3 Chris Seaton: [Truffle] Remove UnreachableCodeBranch
<GitHub189>
[jruby] chrisseaton commented on commit 673a4c3: @pitr-ch I removed this because it's only used in one place and I think doesn't add much. If you get an `UnsupportedOperationException` everyone knows generally what that means and where to look to find it. Let me know if you strongly disagree. https://git.io/vgyh9
shellac has joined #jruby
<GitHub82>
[jruby] chrisseaton pushed 1 new commit to master: https://git.io/vgyhj
<GitHub82>
jruby/master 657f885 Chris Seaton: [Truffle] Tidy up JRubyTruffleImpl
<GitHub25>
[jruby] chrisseaton pushed 1 new commit to master: https://git.io/vgyjJ
<GitHub25>
jruby/master 72f378a Chris Seaton: [Truffle] Fix weird typo.
shellac has quit [Quit: Computer has gone to sleep.]
<d-snp>
hey chrisseaton do you know what I'm doing wrong to get the "can't find dependent libraries" error? all dll's are in my cwd, and when I run a .java file that has the same dependent dll's it all works fine
<d-snp>
and also, is there work being done on windows support for truffle? :P
<chrisseaton>
d-snp: none of us use Windows day-to-day at the moment so it's not a priority, and we use a lot of Rubinius code which does native stuff which doesn't work on Windows, so there's a lot of work to do there
<chrisseaton>
what is bwapi?
<GitHub165>
[jruby] chrisseaton pushed 1 new commit to master: https://git.io/vgSI2
<GitHub165>
jruby/master 34b32e9 Chris Seaton: [Truffle] Fix coverage script.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
<GitHub45>
[jruby] kares closed issue #3662: Performance in 1.7.23 vs 9.0.5.0 https://git.io/vgMH8
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<d-snp>
chrisseaton: it's a hack into Starcraft, to inject AI into it
<d-snp>
there's a competition of Starcraft AI's that use it
<chrisseaton>
It looks like the error is in that library's configuration
<d-snp>
on the Java side?
<d-snp>
what kind of configuration? would that be? is there a special file I need or is it compiled using a runtime that jruby is incompatible with?
<d-snp>
one of the restrictions is that the JRE must be 32-bit
<d-snp>
does JRuby use the jre that's installed or does it ship with its own jre? I think I downloaded 32-bit jruby
<chrisseaton>
You're using this Java library bwapi, right?
<chrisseaton>
Well it looks like it's that library that is throwing an exception, not JRuby
<chrisseaton>
Does that DLL have dependencies that you don't have installed?
<d-snp>
I'm trying to port the Java to JRuby, the Java is compiled to a .class file that references a .jar that someone else built (github.com/vjurenka/BWMirror) which in turns references a bunch of DLL's that are in my root dir
<d-snp>
so I can run it like: java -cp "lib/*;bin/" TestBot1
<d-snp>
from the root dir, and it works fine
<d-snp>
but if I try to do the same thing from Ruby, including thar jar file, and referencing a class from that jar, it throws the error I pasted
<chrisseaton>
What's your JRuby command line look like?
<GitHub156>
[jruby] chrisseaton pushed 2 new commits to master: https://git.io/vgSOH
<GitHub156>
jruby/master a7c3c41 Chris Seaton: [Truffle] Inline method never used anywhere else.
<GitHub156>
jruby/master a68080f Chris Seaton: [Truffle] Remove code path never executed in any test.
<GitHub125>
[jruby] chrisseaton commented on commit a68080f: @nirvdrum I don't know if you were using this for something, but it never gets executed for any test we run. https://git.io/vgSOb
<d-snp>
I think it could be that jruby can't find the vc++ runtime
<d-snp>
even though java can
yfeldblum has quit [Ping timeout: 240 seconds]
shellac has quit [Quit: Computer has gone to sleep.]