Nick Sieger wrote:
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.
A follow-up:
There were some changes to Rawr such that it was no longer including
directories as part of the jar entries. I recently updated my rawr
install, and that broke Monkeybars, which was trying to add a set of
directories based on a glob pattern.
I've update the rawr source (but not pushed back to the repo, pending
some testing and adjustments), so that's no longer an issue for me. Rawr
will now include directories for all files being jar'ed up. (I'm
assuming that doesn't create some other issue; I've asked on the Rawr
dev list about this.)
I was unaware that one had to explicitly add directories in order to
select them from a jar, hence my initial confusion.
FWIW the spec example Logan posted for JRUBY-2518 does not add any
directory entries, and the tests does not verify that they can be found.
In any event, this seems to be sorted out.
Thanks,
James
--
Neurogami - Smart application development
http://www.neurogami.com
ja...@neurogami.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email