Allow loading a Ruby source file from a subdirectory in a JAR file in the load
path using the fully qualified name
------------------------------------------------------------------------------------------------------------------
Key: JRUBY-6119
URL: https://jira.codehaus.org/browse/JRUBY-6119
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6.5
Environment: Ruboto 0.4.1.rc.4
Reporter: Uwe Kubosch
Fix For: JRuby 1.6.5
Same as JRUBY-6077 but for a subdirectory of the apk. May be related to
JRUBY-5775 where the APK does not return a JarEntry for directories.
I suspect JRuby assumes that all jar files have directory entries for all files
they contain. This is not a requirement for zip files and jar files.
The symptom is that for a path to a file in a JAR file without explicit entries
for the directories
File.exists?(path_to_file) gives true
but
load path_to_file fails with "no such file to load"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email