Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.4
-
Component/s: None
-
Labels:None
-
Number of attachments :
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. ![]()
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.