Forum: JRuby Ruby in a Jar

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
159b6e02468106319a0e012c65aeff8f?d=identicon&s=25 Micah Martin (Guest)
on 2009-05-13 16:35
(Received via mailing list)
Recently we've been trying out Nick Sieger's Gem-in-a-Jar technique.
We're building some "shrink-wrap" software with installers and all.
Keeping all the ruby source in a jar files seems like a really simple
and organized alternative to installing hundreds of little files.  We
got pretty far down the Ruby-in-a-jar path before giving up.  The
problems we encountered are:

1. Dir.entries doesn't work for files in a jar.  Based on feedback
from Charles and Nick, there may be a few cases like this where jar
URLs are not handled properly.
2. http://jira.codehaus.org/browse/JRUBY-3596.  The default install
location on windows is C:\Program Files so this was a deal breaker.
3. There was a perceived performance hit when using jar files. We
don't have any data to back it up but it sure did seem slower.

I think this Ruby-in-a-jar concept is powerful and I'd like to see it
work seamlessly.  So my colleague Colin and I would like to help tie
up some of the loose ends today.  Nick pointed us at RubyFile and
RubyDir so we can get started there.  If anyone has any info, related
bugs, or tips, please let us know.

Micah





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.