Skip to content

Commit

Permalink
Documentation update.
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Sep 8, 2010
1 parent a99af75 commit 2ba9016
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 14 deletions.
12 changes: 12 additions & 0 deletions History.txt
@@ -1,3 +1,15 @@
== 1.0.3

Under new management.

Verified to be compatible with Rails 3.

Can be daemonized with JRuby 1.5+ (JRUBY-4752).

Daemon mode in Mac OS X.

Log level can be either an integer or the corresponding string.

== 1.0.2

Fix for regression caused in 1.0.1 in daemon mode.
Expand Down
24 changes: 11 additions & 13 deletions README.txt
Expand Up @@ -25,8 +25,9 @@ Get JDK 6 from here[http://java.sun.com/javase/downloads/index.jsp]

1. Install the gem: <tt>gem install glassfish</tt>.
2. Run glassfish in the top directory of your Rails or Merb application:

$glassfish
a. $ jruby -S glassfish
b. For applications that uses Bundler:
$ jruby -S bundle exec glassfish

=== Usage

Expand Down Expand Up @@ -84,9 +85,10 @@ or
log/development.log file. To see the logs on
console run with -l option without any argument.

--log-level LEVEL: Log level 0 to 7, or equivalent name: 0 (OFF), 1
(SEVERE), 2 (WARNING), 3 (INFO, default), 4
(FINE), 5 (FINER), 6 (FINEST), 7 (ALL).
--log-level LEVEL: Log level 0 to 7, or equivalent name as string.
Default is 3 (or INFO).
0 (OFF), 1 (SEVERE), 2 (WARNING), 3 (INFO),
4 (FINE), 5 (FINER), 6 (FINEST), 7 (ALL).

--config FILE: Configuration file location. Use glassfish.yml
as template. Generate it using 'gfrake config'
Expand All @@ -99,11 +101,11 @@ or

===Configuration

$gfrake -T
$ gfrake -T

rake clean # Clean GlassFish generated temporary files (tmp/.glassfish)
rake config # Generate a configuration file to customize GlassFish gem
rake version # Display version of GlassFish gem
gfrake clean # Clean GlassFish generated temporary files (tmp/.glassfish)
gfrake config # Generate a configuration file to customize GlassFish gem
gfrake version # Display version of GlassFish gem

<b>Note:</b> Although help screen shows rake command. You need to use gfrake instead.

Expand Down Expand Up @@ -137,10 +139,6 @@ Some key points:

=== Source

You can get the GlassFish source using svn, in any of the following ways:

<tt>svn co https://svn.dev.java.net/svn/glassfish-scripting/trunk/rails/gem</tt>

=== License

GlassFish v3 gem is provided with CDDL 1.0 and GPL 2.0 dual license. For
Expand Down
2 changes: 1 addition & 1 deletion bin/glassfish
Expand Up @@ -40,7 +40,7 @@
# 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.
#
# --log-level LEVEL::
# Log level 0 to 7, or equivalent name: 0 (OFF), 1 (SEVERE), 2 (WARNING), 3 (INFO, default), 4 (FINE), 5 (FINER), 6 (FINEST), 7 (ALL).
# Log level 0 to 7, or equivalent name as string. Default is 3 (or INFO). 0 (OFF), 1 (SEVERE), 2 (WARNING), 3 (INFO), 4 (FINE), 5 (FINER), 6 (FINEST), 7 (ALL).
#
# --config FILE::
# Configuration file location. Use glassfish.yml as template. Generate it using 'gfrake config' command.
Expand Down

0 comments on commit 2ba9016

Please sign in to comment.