Warbler and jruby-complete

Hi,

I noticed that the Warbler gem bundles jruby-complete-1.1.1.jar and
would have a couple of questions on this. Firstly, what exactly do the
jruby-complete-x.y.z jar files consist of? Secondly, does Warbler indeed
need the jruby-complete jar or is it possible to make it work with the
jruby-bin distribution? The reason I’m asking is that I’m looking into
bundling Warbler with Netbeans, which already bundles JRuby (but not
jruby-complete AFAICT, depending on the answer for the first question)
and would like to avoid bundling additional JRuby distributions with the
IDE.

Thanks,
Erno


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Mon, Jun 9, 2008 at 7:14 AM, Erno M. [email protected]
wrote:

Hi,

I noticed that the Warbler gem bundles jruby-complete-1.1.1.jar and would
have a couple of questions on this. Firstly, what exactly do the
jruby-complete-x.y.z jar files consist of?

It’s the JRuby interpreter plus all the Ruby standard libraries,
launch scripts and Rubygems that come with the basic distribution
bundled in a single jar.

Secondly, does Warbler indeed
need the jruby-complete jar or is it possible to make it work with the
jruby-bin distribution? The reason I’m asking is that I’m looking into
bundling Warbler with Netbeans, which already bundles JRuby (but not
jruby-complete AFAICT, depending on the answer for the first question) and
would like to avoid bundling additional JRuby distributions with the IDE.

It’s much easier with the complete jar file, as there are no loose
files that need to be copied into the webapp. I haven’t even really
considered supporting building a war file from the jruby-bin
distribution up to this point.

It’s technically possible to create a jruby-bin distribution from a
complete jar, though I don’t think people do this very often.

java -Djruby.home=/path/to/extract/jruby -jar

jruby-complete-1.1.1.jar -S extract

This creates a directory structure nearly identical to the one that
comes with the jruby-bin distribution.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Nick S. wrote:

launch scripts and Rubygems that come with the basic distribution

This creates a directory structure nearly identical to the one that
comes with the jruby-bin distribution.

Thanks for the reply Nick. I’ll need to think about this and see what we
can do in the IDE, I might have some follow up questions then.

Thanks,
Erno


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email