Dir["**/*"] inside jar skips lib/ directory -------------------------------------------
Key: JRUBY-4755 URL: http://jira.codehaus.org/browse/JRUBY-4755 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.4 Environment: jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [amd64-java] on Ubuntu Linux Reporter: Martin Vielsmaier Assignee: Thomas E Enebo Weird problem: I got a directory named lib/ in my source tree. When my source is compiled and packaged in a JAR and my autoloader tries to put all dirs (Dir["**/*"].find_all { |d| File.directory?(d) }) onto the load path, it just doesn't see the lib/ directory. My fix for now is to rename the directory to something else (everything works when it's named libr/). Can't update to 1.5 here, will do soon and see if the problem exists there too... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - 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