jruby-launcher 1.0.16-java → 1.0.17-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Makefile +1 -1
- data/{README.txt → README.md} +22 -19
- data/Rakefile +2 -2
- data/lib/jruby-launcher.rb +1 -1
- data/version.h +1 -1
- metadata +6 -8
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8d20fc6c4b44fd1b68aa87e0ed080d9490547a7f
|
4
|
+
data.tar.gz: b864ce2da79d14c203355b083cb6fe93ef58b27d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c21b41ba9ef3d93a5d8bff2abaade72c1eb79825cb48b7e6fff3cdedf3015fac9eda995f3cd74cb2d868529720a67554eaedd8a2bbdf88389cd7792c27717f83
|
7
|
+
data.tar.gz: 5c70406d7c9ff77eca7ddc649c99f441e290c266a947907f8a55e59b42d4af20a3dadba80887e2b4ff3d5302cdc0a50368bf96bfcba608798656ab735501c14b
|
data/Makefile
CHANGED
data/{README.txt → README.md}
RENAMED
@@ -1,25 +1,26 @@
|
|
1
|
-
JRuby Native Launcher
|
1
|
+
# JRuby Native Launcher
|
2
2
|
|
3
|
-
|
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. (
|
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
|
-
|
18
|
+
## Compile
|
19
19
|
|
20
|
-
On UNIX, you should be able to just type
|
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
|
-
|
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,8 +30,10 @@ here:
|
|
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
|
33
|
-
|
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
|
-
|
45
|
+
make CONF=mingw64
|
43
46
|
|
44
|
-
|
47
|
+
## Run
|
45
48
|
|
46
49
|
The launcher provides a great logger, use it like this:
|
47
50
|
|
48
|
-
|
51
|
+
jruby -Xtrace LOG_FILE.log ....
|
49
52
|
|
50
|
-
|
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
|
-
|
58
|
+
## Thanks
|
56
59
|
|
57
60
|
The original code is by Netbeans project.
|
58
61
|
|
59
|
-
|
62
|
+
## License
|
60
63
|
|
61
|
-
Read the COPYING file.
|
64
|
+
Read the `COPYING` file.
|
data/Rakefile
CHANGED
@@ -26,7 +26,7 @@ task :gemspec => './lib/jruby-launcher.rb' do
|
|
26
26
|
s.summary = %q{Native launcher for JRuby}
|
27
27
|
s.email = ["nick@nicksieger.com", "vsizikov@gmail.com"]
|
28
28
|
s.extensions = ["extconf.rb"]
|
29
|
-
s.files = FileList["COPYING", "README.
|
29
|
+
s.files = FileList["COPYING", "README.md", "Makefile", "Rakefile", "*.c", "*.cpp", "*.h", "inc/*.*", "**/*.rb", "resources/*.*"]
|
30
30
|
s.homepage = %q{http://jruby.org}
|
31
31
|
s.rubyforge_project = %q{jruby-extras}
|
32
32
|
end
|
@@ -48,4 +48,4 @@ task :update_version do
|
|
48
48
|
File.open(version_file, "w") do |f|
|
49
49
|
f.puts version_file_content
|
50
50
|
end
|
51
|
-
end
|
51
|
+
end
|
data/lib/jruby-launcher.rb
CHANGED
data/version.h
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby-launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.17
|
6
5
|
platform: java
|
7
6
|
authors:
|
8
7
|
- Nick Sieger
|
@@ -10,7 +9,7 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
15
14
|
description: Builds and installs a native launcher for JRuby on your system
|
16
15
|
email:
|
@@ -22,7 +21,7 @@ extensions:
|
|
22
21
|
extra_rdoc_files: []
|
23
22
|
files:
|
24
23
|
- COPYING
|
25
|
-
- README.
|
24
|
+
- README.md
|
26
25
|
- Makefile
|
27
26
|
- Rakefile
|
28
27
|
- ng.c
|
@@ -56,6 +55,7 @@ files:
|
|
56
55
|
- resources/jruby.rc
|
57
56
|
homepage: http://jruby.org
|
58
57
|
licenses: []
|
58
|
+
metadata: {}
|
59
59
|
post_install_message:
|
60
60
|
rdoc_options: []
|
61
61
|
require_paths:
|
@@ -65,17 +65,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- - '>='
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
|
-
none: false
|
69
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
69
|
requirements:
|
71
70
|
- - '>='
|
72
71
|
- !ruby/object:Gem::Version
|
73
72
|
version: '0'
|
74
|
-
none: false
|
75
73
|
requirements: []
|
76
74
|
rubyforge_project: jruby-extras
|
77
|
-
rubygems_version:
|
75
|
+
rubygems_version: 2.0.3
|
78
76
|
signing_key:
|
79
|
-
specification_version:
|
77
|
+
specification_version: 4
|
80
78
|
summary: Native launcher for JRuby
|
81
79
|
test_files: []
|