You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/07/28 15:19:29 UTC
svn commit: r560538 - in
/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main:
config/ scripts/
Author: jdillon
Date: Sat Jul 28 06:19:28 2007
New Revision: 560538
URL: http://svn.apache.org/viewvc?view=rev&rev=560538
Log:
Copy the gshell scripts
Added:
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties (with props)
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf (with props)
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties (with props)
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties (with props)
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh
geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat (with props)
Added: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties?view=auto&rev=560538
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties (added)
+++ geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties Sat Jul 28 06:19:28 2007
@@ -0,0 +1,27 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev$ $Date$
+##
+
+# Log4j is assumed to be the default logging provider for allowing runtime
+# customizations of logging levels/appenders
+
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
\ No newline at end of file
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/commons-logging.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf?view=auto&rev=560538
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf (added)
+++ geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf Sat Jul 28 06:19:28 2007
@@ -0,0 +1,29 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev$ $Date$
+##
+
+main is org.apache.geronimo.gshell.cli.Main from gshell
+
+[gshell]
+load ${gshell.home}/etc
+load ${gshell.home}/lib/*.jar
+
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-classworlds.conf
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties?view=auto&rev=560538
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties (added)
+++ geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties Sat Jul 28 06:19:28 2007
@@ -0,0 +1,41 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev$ $Date$
+##
+
+log4j.rootCategory=DEBUG, CONSOLE, FILE
+
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Target=System.out
+log4j.appender.CONSOLE.Threshold=${gshell.log.console.level}
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
+
+log4j.appender.FILE=org.apache.log4j.FileAppender
+log4j.appender.FILE.File=${gshell.home}/log/gshell.log
+log4j.appender.FILE.Append=false
+log4j.appender.FILE.Threshold=DEBUG
+log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p (%t) [%c] %m%n
+
+log4j.logger.org.springframework=WARN
+log4j.logger.org.apache.xbean.spring=WARN
+
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh-log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties?view=auto&rev=560538
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties (added)
+++ geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties Sat Jul 28 06:19:28 2007
@@ -0,0 +1,23 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev$ $Date$
+##
+
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/config/gsh.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh?view=auto&rev=560538
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh (added)
+++ geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh Sat Jul 28 06:19:28 2007
@@ -0,0 +1,63 @@
+#!/bin/sh
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 539227 $ $Date: 2007-05-17 19:48:49 -0700 (Thu, 17 May 2007) $
+##
+
+DIRNAME=`dirname "$0"`
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+ CYGWIN*)
+ cygwin=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$GSHELL_HOME" ] && GSHELL_HOME=`cygpath --unix "$GSHELL_HOME"`
+ [ -n "$JAVACMD" ] && JAVACMD=`cygpath --unix "$JAVACMD"`
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Locate GSHELL_HOME if not it is not set
+if [ "x$GSHELL_HOME" = "x" ]; then
+ GSHELL_HOME=`cd "$DIRNAME/.."; pwd`
+fi
+
+# Determine the Java command to use to start the JVM
+if [ -z "$JAVACMD" ]; then
+ if [ -n "$JAVA_HOME" ]; then
+ JAVACMD="$JAVA_HOME/bin/java"
+ else
+ JAVACMD="java"
+ fi
+fi
+
+BOOTJAR="$GSHELL_HOME/lib/boot/gshell-bootstrap.jar"
+if $cygwin ; then
+ BOOTJAR=`cygpath --windows "$BOOTJAR"`
+fi
+
+# Start the JVM
+exec "$JAVACMD" $JAVA_OPTS -jar "$BOOTJAR" "$@"
+
Added: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat?view=auto&rev=560538
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat (added)
+++ geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat Sat Jul 28 06:19:28 2007
@@ -0,0 +1,81 @@
+@if "%DEBUG%" == "" @echo off
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one
+rem or more contributor license agreements. See the NOTICE file
+rem distributed with this work for additional information
+rem regarding copyright ownership. The ASF licenses this file
+rem to you under the Apache License, Version 2.0 (the
+rem "License"); you may not use this file except in compliance
+rem with the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing,
+rem software distributed under the License is distributed on an
+rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+rem KIND, either express or implied. See the License for the
+rem specific language governing permissions and limitations
+rem under the License.
+rem
+
+rem
+rem $Rev$ $Date$
+rem
+
+if "%OS%"=="Windows_NT" setlocal
+
+:begin
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.\
+
+:check_JAVACMD
+if not "%JAVACMD%" == "" goto check_GSHELL_HOME
+
+:check_JAVA_HOME
+if not "%JAVA_HOME%" == "" goto have_JAVA_HOME
+set JAVACMD=java
+goto check_GSHELL_HOME
+
+:have_JAVA_HOME
+set JAVACMD=%JAVA_HOME%\bin\java
+goto check_GSHELL_HOME
+
+:check_GSHELL_HOME
+if "%GSHELL_HOME%" == "" set GSHELL_HOME=%DIRNAME%..
+
+:init
+rem Get command-line arguments, handling Windowz variants
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%eval[2+2]" == "4" goto 4NT_args
+
+rem Regular WinNT shell
+set ARGS=%*
+goto execute
+
+:win9xME_args
+rem Slurp the command line arguments. This loop allows for an unlimited number
+set ARGS=
+
+:win9xME_args_slurp
+if "x%1" == "x" goto execute
+set ARGS=%ARGS% %1
+shift
+goto win9xME_args_slurp
+
+:4NT_args
+rem Get arguments from the 4NT Shell from JP Software
+set ARGS=%$
+
+:execute
+
+set BOOTJAR=%GSHELL_HOME%\lib\boot\gshell-bootstrap.jar
+
+rem Start the JVM
+"%JAVACMD%" %JAVA_OPTS% -jar "%BOOTJAR% %ARGS%
+
+:end
+
+if "%OS%"=="Windows_NT" endlocal
+if "%GSHELL_BATCH_PAUSE%" == "on" pause
+
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat
------------------------------------------------------------------------------
svn:eol-style = CRLF
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/sandbox/server-gshell-launcher/assemblies/geronimo-jetty6-javaee5-gshell/src/main/scripts/gsh.bat
------------------------------------------------------------------------------
svn:mime-type = text/plain