Re: [Jruby-devel] Ruby in a jar

2006-07-13 Thread Charles O Nutter
On 7/12/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: On Wed, 12 Jul 2006, Charles O Nutter defenestrated me:>Yeah, I'd assume for command-line use (running it ruby-style) we would>not have this...you'd want to set up CLASSPATH like you would want to >see load path. For running within a

Re: [Jruby-devel] Ruby in a jar

2006-07-12 Thread Thomas E Enebo
On Wed, 12 Jul 2006, Charles O Nutter defenestrated me: >On 7/12/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: >It would be nice if the magic load path element would be visible > and thus removable too. Then that would give the flexibility to > remove classpath-based loading

Re: [Jruby-devel] Ruby in a jar

2006-07-12 Thread Charles O Nutter
On 7/12/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: On Wed, 12 Jul 2006, Charles O Nutter defenestrated me:>On 7/12/06, Charles O Nutter <[1][email protected]> wrote:>>Actually what you're suggesting may be better in some ways since it >would give us a load path element that means "

Re: [Jruby-devel] Ruby in a jar

2006-07-12 Thread Thomas E Enebo
On Wed, 12 Jul 2006, Charles O Nutter defenestrated me: >On 7/12/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > >Actually what you're suggesting may be better in some ways since it >would give us a load path element that means "now search classloader >resources". My version would

Re: [Jruby-devel] Ruby in a jar

2006-07-12 Thread Charles O Nutter
On 7/12/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: What you're suggesting is basically what I'm hoping to do, except that I think we could just have the load path explicitly contain all jars on the classpath, so that when you do a load it will search classpath jars as well. That part's not too

Re: [Jruby-devel] Ruby in a jar

2006-07-12 Thread Charles O Nutter
On 7/12/06, Nick Sieger <[EMAIL PROTECTED]> wrote: How do these libraries form the absolute path to the files -- is it based on something from "rbconfig" or RUBY_LIB?  A wild idea, but what if, when running JRuby with a command like "java -jar jruby.jar" or when embedding, that we default jruby.ho

Re: [Jruby-devel] Ruby in a jar

2006-07-12 Thread Nick Sieger
On 7/12/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: If its not too many libraries and the fix looks easy, it might be worth filing bugs with Ruby.  Finding an include through manual file lookupstuff seems like its pretty bad programming practice anyway. I totally agree. I think it's tres goofy

Re: [Jruby-devel] Ruby in a jar

2006-07-11 Thread Charles O Nutter
On 7/12/06, Evan Buswell <[EMAIL PROTECTED]> wrote: I have been running my bsf-called script and a bunch of includes in ajar for quite some time, so at least for specific applications thisseems to work fine.That's good to hear. I know the code is in there, but I haven't ever tried to exercise it la

Re: [Jruby-devel] Ruby in a jar

2006-07-11 Thread Evan Buswell
; <mailto:[EMAIL PROTECTED]> [mailto: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>] On Behalf Of > Nick Sieger > Sent: Tuesday, July 11, 2006 1:44 PM > To: [email protected] > <mailto:[email protected]

Re: [Jruby-devel] Ruby in a jar

2006-07-11 Thread Charles O Nutter
ld work up a pom file. If not, I will see about contributing one in the next week. PeterFrom: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Nick SiegerSent: Tuesday, July 11, 2006 1:44 PMTo: [email protected]: [Jruby-devel] Ruby

Re: [Jruby-devel] Ruby in a jar

2006-07-11 Thread Peter K Chan
TECTED] On Behalf Of Nick Sieger Sent: Tuesday, July 11, 2006 1:44 PM To: [email protected] Subject: [Jruby-devel] Ruby in a jar Have you guys lent any thoughts to having a distro of JRuby that amounts to the entire thing in a .jar?  Will it "just work" to build an uber-jar

Re: [Jruby-devel] Ruby in a jar

2006-07-11 Thread Charles O Nutter
I'd love to be able to do this, and yes we've talked about this as the ultimate goal. JRuby in a Jar, JRuby + Rails + JMongrel + your app in a Jar, Rake in a Jar, and so on. These are the holy grails.HOWEVER Ruby's libraries suffer from one major flaw: they frequently expect that all .rb files are

[Jruby-devel] Ruby in a jar

2006-07-11 Thread Nick Sieger
Have you guys lent any thoughts to having a distro of JRuby that amounts to the entire thing in a .jar?  Will it "just work" to build an uber-jar that contains *.rb files as resources in the jar, that would make usage in embedding applications easier? Also, it would be nice to get a copy of jruby.j