JRuby

Native jruby launcher needed (at least for Windows)

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.4
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

jruby.bat maintenance is tricky, we always getting new and new problems with it, applying hacks on top of hacks on top of hacks, and at the end it is still doesn't fully work 100% reliably. Not to mention that any kind of improvement to BAT file most definitely introduces all kinds of weird regressions.

So it seems that the only way out of this situation is a native JRuby launcher, at least for Windows.

So far, the following variants have been proposed:

1. Use tinyrb to parse command line arguments and to launch java.
http://github.com/macournoyer/tinyrb
http://github.com/wmeissner/tinyrb – Wayne' FFI

2. Use some readily available launchers, there are PLENTY of those, none of them would allow us
to keep the command line unchanged though...

a) http://launch4j.sourceforge.net
b) http://winrun4j.cvs.sourceforge.net
c) http://svn.codehaus.org/groovy/trunk/groovy/modules/native_launcher/README.txt
d) Eclipse.exe or Netbeans.exe - these are aslo extendable launchers

3. Write our own from scratch.

Activity

Hide
Nick Sieger added a comment -

4. http://ooc-lang.org/ could be an interesting way to write a launcher, if the OOC guys are writing enough handy string maninpulation functions.

Show
Nick Sieger added a comment - 4. http://ooc-lang.org/ could be an interesting way to write a launcher, if the OOC guys are writing enough handy string maninpulation functions.
Hide
Vladimir Sizikov added a comment -

See http://github.com/vvs/jruby-launcher for a native windows JRuby launcher, based on Netbeans launcher infrastructure.

Show
Vladimir Sizikov added a comment - See http://github.com/vvs/jruby-launcher for a native windows JRuby launcher, based on Netbeans launcher infrastructure.
Hide
David Kellum added a comment -

This one has some unique scripting specific features, in my biased opinion:

http://hashdot.sourceforge.net/
http://github.com/dekellum/hashdot

Been working nicely for me in production environments for last year. Not yet ported to windows (Linux, OS X only.) though its APR dependency builds there, and should help in theory.

FWIW: Been wanting to play with integrating something nailgain-like into this as well.

Show
David Kellum added a comment - This one has some unique scripting specific features, in my biased opinion: http://hashdot.sourceforge.net/ http://github.com/dekellum/hashdot Been working nicely for me in production environments for last year. Not yet ported to windows (Linux, OS X only.) though its APR dependency builds there, and should help in theory. FWIW: Been wanting to play with integrating something nailgain-like into this as well.
Hide
Nick Sieger added a comment -

Initial version will go out with 1.4 – see JRUBY-4051

Show
Nick Sieger added a comment - Initial version will go out with 1.4 – see JRUBY-4051

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: