Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.4, JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.6.5, JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
Hi!
When a JAR is in class path, it would be great to be abe to load files from it using the fully qualified name of the file, including the path to the jar. Currently this is how ActiveSupport dependencies are loaded, and it would be great to able to autoload Ruby source from a JAR.
I have got it working on master with 3 lines of code side it was mostly working already.
Pull request:
https://github.com/jruby/jruby/pull/79
I hope this can be accepted into JRuby.
Activity
Uwe Kubosch
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Uwe Kubosch
made changes -
| Attachment | 0001-JRUBY-6077-Allow-loading-a-Ruby-source-file-from-the.patch [ 57718 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Separate pull request for the jruby-1_6 branch:
https://github.com/jruby/jruby/pull/80