1
- JRuby Native Launcher
1
+ # JRuby Native Launcher
2
2
3
- == Motivation
3
+ ## Motivation
4
4
5
- Maintaning JRuby.BAT was, well, to put it mildly, unpleasant. We had
5
+ Maintaning ` JRuby.BAT ` was, well, to put it mildly, unpleasant. We had
6
6
tens of bugs due to BAT limitations, we had weird behaviors depending
7
7
on the version of Windows, we had a bunch of regressions.
8
8
9
9
See http://jira.codehaus.org/browse/JRUBY-4100 for more details.
10
10
11
11
On UNIX platforms, we had problems because a shell-script can't be put
12
- as a path in the shebang and couldn't take arguments. (#!/usr/bin/env
13
- jruby -w)
12
+ as a path in the shebang and couldn't take arguments. (` #!/usr/bin/env
13
+ jruby -w` )
14
14
15
15
We also wanted to DRY up argument handling, even if it meant ditching
16
16
shell script and writing in lowest-common-denominator C++ (!).
17
17
18
- == Compile
18
+ ## Compile
19
19
20
- On UNIX, you should be able to just type ' make' and a ' jruby' binary
20
+ On UNIX, you should be able to just type ` make ` and a ` jruby ` binary
21
21
will be created in the project directory. Copy this to
22
- $JRUBY_HOME/bin. On Windows, you should also be able to type 'make' if
22
+ ` $JRUBY_HOME/bin ` (or wherever your ` jruby ` executable is installed). On
23
+ Windows, you should also be able to type ` make ` if
23
24
you have the MinGW compiler toolkit installed.
24
25
25
26
Or, open the project in Netbeans 6.8 (with C/C++ plugin installed). If
29
30
30
31
http://netbeans.org/community/releases/68/cpp-setup-instructions.html
31
32
32
- Then, just build it, and you're ready to go. jruby.exe, jrubyw.exe and
33
- jruby.dll will be created, they need to be copied into $JRUBY_HOME/bin
33
+ Then, just build it, and you're ready to go. ` jruby.exe ` , ` jrubyw.exe `
34
+ and
35
+ ` jruby.dll ` will be created, they need to be copied into
36
+ ` $JRUBY_HOME/bin `
34
37
directory.
35
38
36
39
Both, 32-bit and 64-bit compilers are supported. Great version of
@@ -39,23 +42,23 @@ Both, 32-bit and 64-bit compilers are supported. Great version of
39
42
To build 64-bit version of the launcher, use the following from the
40
43
command line:
41
44
42
- make CONF=mingw64
45
+ make CONF=mingw64
43
46
44
- == Run
47
+ ## Run
45
48
46
49
The launcher provides a great logger, use it like this:
47
50
48
- jruby -Xtrace LOG_FILE.log ....
51
+ jruby -Xtrace LOG_FILE.log ....
49
52
50
- == TODO
53
+ ## TODO
51
54
52
- See TODO.txt file for things that need to be done before this launcher
53
- could replace jruby.bat.
55
+ See ` TODO.txt ` file for things that need to be done before this launcher
56
+ could replace ` jruby.bat ` .
54
57
55
- == Thanks
58
+ ## Thanks
56
59
57
60
The original code is by Netbeans project.
58
61
59
- == License
62
+ ## License
60
63
61
- Read the COPYING file.
64
+ Read the ` COPYING ` file.
0 commit comments