glassfish 0.9.4-universal-java → 0.9.5-universal-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/glassfish_rails +61 -2
- data/domains/domain1/config/glassfish_gem_version.yml +1 -1
- data/lib/version.rb +1 -1
- data/modules/glassfish-gem.jar +0 -0
- metadata +1 -1
data/bin/glassfish_rails
CHANGED
@@ -1,2 +1,61 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# == Synopsis
|
2
|
+
#
|
3
|
+
# glassfish: GlassFish v3 server for Rack based frameworks such as: Rails, Merb, Sinatra...
|
4
|
+
#
|
5
|
+
# == Usage:
|
6
|
+
#
|
7
|
+
# glassfish [OPTION] APPLICATION_PATH
|
8
|
+
#
|
9
|
+
# -h, --help::
|
10
|
+
# show help
|
11
|
+
#
|
12
|
+
# -c, --contextroot PATH::
|
13
|
+
# change the context root (default: '/')
|
14
|
+
#
|
15
|
+
# -p, --port PORT::
|
16
|
+
# change server port (default: 3000)
|
17
|
+
#
|
18
|
+
# -e, --environment ENV::
|
19
|
+
# change rails environment (default: development)
|
20
|
+
#
|
21
|
+
# -n --runtimes NUMBER::
|
22
|
+
# Number of JRuby runtimes to create initially
|
23
|
+
#
|
24
|
+
# --runtimes-min NUMBER::
|
25
|
+
# Minimum JRuby runtimes to create
|
26
|
+
#
|
27
|
+
# --runtimes-max NUMBER::
|
28
|
+
# Maximum number of JRuby runtimes to create
|
29
|
+
#
|
30
|
+
# -d, --daemon::
|
31
|
+
# Run GlassFish as daemon. Currently works with Linux and Solaris OS.
|
32
|
+
#
|
33
|
+
# -P, --pid FILE::
|
34
|
+
# PID file where PID will be written. Applicable when used with -d option. The default pid file is tmp/pids/glassfish-<PID>.pid
|
35
|
+
#
|
36
|
+
# -l, --log FILE::
|
37
|
+
# Log file, where the server log messages will go. By default the server logs go to log/development.log file. To see the logs on console run with -l option without any argument.
|
38
|
+
#
|
39
|
+
# --log-level LEVEL::
|
40
|
+
# Log level 0 to 7. 0:OFF, 1:SEVERE, 2:WARNING, 3:INFO (default), 4:FINE, 5:FINER, 6:FINEST, 7:ALL.
|
41
|
+
#
|
42
|
+
# --config FILE::
|
43
|
+
# Configuration file location. Use glassfish.yml as template. Generate it using 'gfrake config' command.
|
44
|
+
#
|
45
|
+
# APPLICATION_PATH (optional): Path to the application to be run (default: current).
|
46
|
+
#
|
47
|
+
# For further configuration, run GlassFish rake command 'gfrake -T'
|
48
|
+
|
49
|
+
require "java"
|
50
|
+
$LOAD_PATH << "#{File.dirname(__FILE__)}/../modules"
|
51
|
+
$LOAD_PATH << "#{File.dirname(__FILE__)}/../lib"
|
52
|
+
|
53
|
+
require 'command_line_parser'
|
54
|
+
require 'glassfish'
|
55
|
+
|
56
|
+
puts "\n'glassfish_rails' is deprecated, use 'glassfish' command instead.\nThis script will be removed in the next release.
|
57
|
+
\n\n"
|
58
|
+
|
59
|
+
options = GlassFish::CommandLineParser.new.parse
|
60
|
+
gf = GlassFish::Server.new
|
61
|
+
gf.startup(options)
|
data/lib/version.rb
CHANGED
data/modules/glassfish-gem.jar
CHANGED
Binary file
|