|
Fixed in 4315 on trunk and 4316 on 1.0 branch.
Charles Oliver Nutter made changes - 13/Sep/07 04:37 PM
Hmm, I think this needs to be reexamined. With the patch applied, I can no longer load jirb (haven't tried with other apps): Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main If I revert the change, it works fine. Same problem/fix for both 1.x and 1_0. WinXp, Java 1.6
Bill Dortch made changes - 17/Sep/07 03:16 AM
Bill Dortch made changes - 17/Sep/07 03:56 AM
Reverted in 4335 (1_0), 4336 (trunk), pending better solution. See also I think there's a small typo in the proposed fix above that prevents it from working. If I replace the second double-quote with a backslash, and put the double-quote after "*.jar", it works on my machine: for %%i in ("%JRUBY_HOME%\lib*.jar") do @call "%~dp0_jrubysetcp" %%i Sorry, that should be: for %%i in ("%JRUBY_HOME%\lib*.jar") do @call "%~dp0_jrubysetcp" %%i JIRA keeps eating my backslashes - trying again: for %%i in ("%JRUBY_HOME%\lib Fourth time's the charm: for %%i in ("%JRUBY_HOME%\lib\*.jar") do @call "%~dp0_jrubysetcp" %%i
Yep, it was just a typo in the original fix. I've committed the updated fix on both branches.
Charles Oliver Nutter made changes - 30/Sep/07 09:44 AM
Charles Oliver Nutter made changes - 22/Dec/07 06:28 AM
Kaj: that seems like you just need a rebuild or jruby.jar is missing. Either way it is unrelated to this bug. If you can still reproduce it after a clean build and your ENV looks ok please file a bug or contact us on freenode IRC in #jruby. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Excellent find Jerome, thank you! I will commit this to trunk and 1.0.