public
Description: Native windows launcher for JRuby
Homepage: http://jruby.org/
Clone URL: git://github.com/vvs/jruby-launcher.git
name age message
file .dep.inc Fri Oct 16 10:59:21 -0700 2009 Initial commit [vvs]
file .gitignore Sat Dec 19 11:22:17 -0800 2009 Added infrastructure to supply exes with custom... [vvs]
file COPYING Fri Oct 16 11:13:03 -0700 2009 Updated documentation, license info [vvs]
file Makefile Sat Dec 19 11:58:43 -0800 2009 Removed auto-generated comments from the Makefile [vvs]
file README.txt Thu Dec 17 06:42:28 -0800 2009 Updated the docs, with NB 6.8, 64-bit info and ... [vvs]
file TODO.txt Thu Dec 17 06:45:46 -0800 2009 Updated TODO. [vvs]
file argnames.h Sat Dec 19 14:02:20 -0800 2009 JRUBY-4377: Native launcher handles -J-cp and -... [vvs]
file jruby.cpp Wed Oct 21 06:49:49 -0700 2009 JRUBY-4133: JRuby native launcher should look a... [vvs]
file jrubyexe.cpp Sat Oct 24 09:57:49 -0700 2009 JRUBY-4150: Change all launcher args to use -X ... [nicksieger]
file jvmlauncher.cpp Tue Dec 22 03:01:42 -0800 2009 JRUBY-4381: Native launcher complains about --c... [vvs]
file jvmlauncher.h Fri Oct 16 10:59:21 -0700 2009 Initial commit [vvs]
file nbexecloader.h Wed Oct 21 06:49:49 -0700 2009 JRUBY-4133: JRuby native launcher should look a... [vvs]
directory nbproject/ Sat Dec 19 11:22:17 -0800 2009 Added infrastructure to supply exes with custom... [vvs]
file ng.c Mon Oct 19 12:14:45 -0700 2009 Add builtin/embedded nailgun support [nicksieger]
file platformlauncher.cpp Sat Dec 19 14:02:20 -0800 2009 JRUBY-4377: Native launcher handles -J-cp and -... [vvs]
file platformlauncher.h Sat Dec 19 14:02:20 -0800 2009 JRUBY-4377: Native launcher handles -J-cp and -... [vvs]
directory resources/ Sat Dec 19 11:22:17 -0800 2009 Added infrastructure to supply exes with custom... [vvs]
file utilsfuncs.cpp Tue Dec 15 12:10:11 -0800 2009 Better settings, suitable for gcc 4.4/4.5 and W... [vvs]
file utilsfuncs.h Thu Oct 22 12:11:28 -0700 2009 jrubyw.exe now understands --console attach No... [vvs]
README.txt
JRuby Native Launcher for Windows.

== Motivation

Maintaning JRuby.BAT is, well, to put it mildly, unpleasant. We had tens of bugs due to BAT limitations, we had weird 
behaviors depending on the version of Windows, we had a bunch of regressions. 

See http://jira.codehaus.org/browse/JRUBY-4100 for more details.

== Compile

Open the project in Netbeans 6.8 (with C/C++ plugin installed). If Netbeans warns that no compilers found, follow the 
instructions and install the required compilers. Currenty, we support MinGW. More info here:

http://netbeans.org/community/releases/68/cpp-setup-instructions.html

Then, just build it, and you're ready to go. jruby.exe, jrubyw.exe and jruby.dll will be created, they need to be copied 
into $JRUBY_HOME/bin directory.

Both, 32-bit and 64-bit compilers are supported. Great version of 64-bit mingw can be found here:
http://www.cadforte.com/system64.html

To build 64-bit version of the launcher, use the following from the command line:

  make CONFG=mingw64

== Run

The launcher provides a great logger, use it like this:

  jruby.exe -Xtrace LOG_FILE.log ....

== TODO

See TODO.txt file for things that need to be done before this launcher could replace jruby.bat.

== Thanks

The original code is by Netbeans project.

== License

Read the COPYING file.