geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r595889 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/ assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/ framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/comma...
Date Sat, 17 Nov 2007 01:13:09 GMT
Author: jdillon
Date: Fri Nov 16 17:13:06 2007
New Revision: 595889

URL: http://svn.apache.org/viewvc?rev=595889&view=rev
Log:
Update to use the latest gshell layout bits

Modified:
    geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server
    geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server.bat
    geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server
    geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server.bat
    geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/layout.xml
    geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
    geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StopServerCommand.groovy

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server
(original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server
Fri Nov 16 17:13:06 2007
@@ -24,5 +24,5 @@
 
 DIRNAME=`dirname "$0"`
 
-exec "$DIRNAME/gsh" -c "start-server" "$@"
+exec "$DIRNAME/gsh" -c "geronimo/start-server $@"
 

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server.bat
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server.bat?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server.bat
(original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/start-server.bat
Fri Nov 16 17:13:06 2007
@@ -29,7 +29,7 @@
 set DIRNAME=%~dp0
 if "%DIRNAME%" == "" set DIRNAME=.\
 
-"%DIRNAME%\gsh.bat" -c "start-server" %*
+"%DIRNAME%\gsh.bat" -c "geronimo/start-server %*"
 
 :end
 

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server
(original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server
Fri Nov 16 17:13:06 2007
@@ -24,5 +24,5 @@
 
 DIRNAME=`dirname "$0"`
 
-exec "$DIRNAME/gsh" -c "stop-server" "$@"
+exec "$DIRNAME/gsh" -c "geronimo/stop-server $@"
 

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server.bat
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server.bat?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server.bat
(original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/stop-server.bat
Fri Nov 16 17:13:06 2007
@@ -29,7 +29,7 @@
 set DIRNAME=%~dp0
 if "%DIRNAME%" == "" set DIRNAME=.\
 
-"%DIRNAME%\gsh.bat" -c "stop-server" %*
+"%DIRNAME%\gsh.bat" -c "geronimo/stop-server %*"
 
 :end
 

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/layout.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/layout.xml?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/layout.xml
(original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/layout.xml
Fri Nov 16 17:13:06 2007
@@ -21,27 +21,82 @@
 <!-- $Rev$ $Date$ -->
 
 <layout>
-    <name>/</name>
-
     <nodes>
+
+        <!-- Builtins -->
+
         <command>
             <name>help</name>
-            <id>org.apache.geronimo.gshell.commands.buildins.HelpCommand</id>
+            <id>gshell-builtins:help</id>
         </command>
-        
+
         <alias>
             <name>?</name>
             <command>help</command>
         </alias>
+
+        <command>
+            <name>exit</name>
+            <id>gshell-builtins:exit</id>
+        </command>
+
+        <alias>
+            <name>quit</name>
+            <command>exit</command>
+        </alias>
+
+        <command>
+            <name>echo</name>
+            <id>gshell-builtins:echo</id>
+        </command>
+
+        <alias>
+            <name>print</name>
+            <command>echo</command>
+        </alias>
         
         <command>
-            <name>start-server</name>
-            <id>org.apache.geronimo.commands.StartServerCommand</id>
+            <name>clear</name>
+            <id>gshell-builtins:clear</id>
         </command>
         
+        <command>
+            <name>source</name>
+            <id>gshell-builtins:source</id>
+        </command>
+
         <alias>
-            <name>start</name>
-            <command>start-server</command>
+            <name>.</name>
+            <command>source</command>
         </alias>
+
+        <command>
+            <name>set</name>
+            <id>gshell-builtins:set</id>
+        </command>
+
+        <command>
+            <name>unset</name>
+            <id>gshell-builtins:unset</id>
+        </command>
+
+        <!-- Geronimo -->
+
+        <group>
+            <name>geronimo</name>
+
+            <nodes>
+                <command>
+                    <name>start-server</name>
+                    <id>geronimo-commands:start-server</id>
+                </command>
+                
+                <command>
+                    <name>stop-server</name>
+                    <id>geronimo-commands:stop-server</id>
+                </command>
+            </nodes>
+        </group>
+
     </nodes>
 </layout>

Modified: geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Fri Nov 16 17:13:06 2007
@@ -37,7 +37,7 @@
  *
  * @version $Rev$ $Date$
  */
-@CommandComponent(id='start-server')
+@CommandComponent(id='geronimo-commands:start-server', description="Start a Geronimo server")
 class StartServerCommand
     extends CommandSupport
 {

Modified: geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StopServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StopServerCommand.groovy?rev=595889&r1=595888&r2=595889&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StopServerCommand.groovy
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StopServerCommand.groovy
Fri Nov 16 17:13:06 2007
@@ -27,7 +27,7 @@
  *
  * @version $Rev$ $Date$
  */
-@CommandComponent(id='stop-server')
+@CommandComponent(id='geronimo-commands:stop-server', description="Stop a Geronimo server")
 class StopServerCommand
     extends CommandSupport
 {



Mime
View raw message