On Sun, Mar 14, 2010 at 9:48 PM, James Britt <ja...@neurogami.com> wrote: > Current github head breaks when doing a Dir.glob on a jar. Some Monkeybars > code that used to work now fails because it can no longer munge $:. > Dir.glob finds class files, but never reports any directories. > > I tried Logan's spec code from here: > > http://jira.codehaus.org/browse/JRUBY-2518 > > > and I'm getting 2 failures out of 4 examples. > > > So it seems something has reverted. > > > This using jruby-complete.jar
Hi James, Make sure you create your jar files with directory entries in them. Some utilities (notably Ant's jar task as well as jarjar) can be configured to not store directories. Without them, JRuby's jar-globbing code won't work. /Nick --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email