You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2009/02/12 22:32:20 UTC

svn commit: r743891 - /servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/resources/META-INF/spring/gshell-commands.xml

Author: gnodet
Date: Thu Feb 12 21:32:19 2009
New Revision: 743891

URL: http://svn.apache.org/viewvc?rev=743891&view=rev
Log:
SMX4KNL-184: align the command names with the gshell ones

Modified:
    servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/resources/META-INF/spring/gshell-commands.xml

Modified: servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/resources/META-INF/spring/gshell-commands.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/resources/META-INF/spring/gshell-commands.xml?rev=743891&r1=743890&r2=743891&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/resources/META-INF/spring/gshell-commands.xml (original)
+++ servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/resources/META-INF/spring/gshell-commands.xml Thu Feb 12 21:32:19 2009
@@ -73,12 +73,6 @@
             <gshell:action class="org.apache.geronimo.gshell.commands.builtin.EchoAction"/>
         </gshell:command>
 
-        <gshell:link name="print" target="echo"/>
-
-        <gshell:command name="printf">
-            <gshell:action class="org.apache.geronimo.gshell.commands.text.PrintfAction"/>
-        </gshell:command>
-
         <gshell:command name="clear" type="stateless">
             <gshell:action class="org.apache.geronimo.gshell.commands.builtin.ClearAction"/>
         </gshell:command>
@@ -134,17 +128,17 @@
     </gshell:command-bundle>
 
     <gshell:command-bundle>
-        <gshell:command name="remote/ssh">
+        <gshell:command name="ssh">
             <gshell:action class="org.apache.geronimo.gshell.commands.ssh.SshAction"/>
         </gshell:command>
 
-        <gshell:command name="remote/sshd">
+        <gshell:command name="sshd">
             <gshell:action class="org.apache.geronimo.gshell.commands.ssh.SshServerAction"/>
         </gshell:command>
     </gshell:command-bundle>
 
     <gshell:command-bundle>
-        <gshell:command name="optional/exec">
+        <gshell:command name="exec">
             <gshell:action class="org.apache.geronimo.gshell.commands.shell.ExecuteAction"/>
         </gshell:command>
 
@@ -156,16 +150,12 @@
             <gshell:action class="org.apache.geronimo.gshell.commands.shell.SleepAction"/>
         </gshell:command>
 
-        <gshell:command name="optional/date">
+        <gshell:command name="date">
             <gshell:action class="org.apache.geronimo.gshell.commands.shell.DateAction"/>
         </gshell:command>
 
-        <gshell:command name="optional/hostname">
-            <gshell:action class="org.apache.geronimo.gshell.commands.network.HostnameAction"/>
-        </gshell:command>
-
-        <gshell:command name="optional/cat">
-            <gshell:action class="org.apache.geronimo.gshell.commands.text.CatAction">
+        <gshell:command name="edit">
+            <gshell:action class="org.apache.geronimo.gshell.commands.shell.EditAction">
                 <property name="fileSystemAccess" ref="fileSystemAccess"/>
             </gshell:action>
             <gshell:completers>
@@ -174,8 +164,8 @@
             </gshell:completers>
         </gshell:command>
 
-        <gshell:command name="optional/edit">
-            <gshell:action class="org.apache.geronimo.gshell.commands.shell.EditAction">
+        <gshell:command name="find">
+            <gshell:action class="org.apache.geronimo.gshell.commands.shell.FindAction">
                 <property name="fileSystemAccess" ref="fileSystemAccess"/>
             </gshell:action>
             <gshell:completers>
@@ -183,17 +173,23 @@
                 <null/>
             </gshell:completers>
         </gshell:command>
+    </gshell:command-bundle>
 
-        <gshell:command name="optional/touch">
-            <gshell:action class="org.apache.geronimo.gshell.commands.file.TouchAction" parent="vfsCommandActionTemplate"/>
-            <gshell:completers>
-                <ref bean="fileObjectNameCompleter"/>
-                <null/>
-            </gshell:completers>
+    <gshell:command-bundle>
+        <gshell:command name="hostname">
+            <gshell:action class="org.apache.geronimo.gshell.commands.network.HostnameAction"/>
         </gshell:command>
+    </gshell:command-bundle>
 
-        <gshell:command name="optional/find">
-            <gshell:action class="org.apache.geronimo.gshell.commands.shell.FindAction">
+    <gshell:command-bundle>
+        <gshell:link name="print" target="echo"/>
+
+        <gshell:command name="printf">
+            <gshell:action class="org.apache.geronimo.gshell.commands.text.PrintfAction"/>
+        </gshell:command>
+
+        <gshell:command name="cat">
+            <gshell:action class="org.apache.geronimo.gshell.commands.text.CatAction">
                 <property name="fileSystemAccess" ref="fileSystemAccess"/>
             </gshell:action>
             <gshell:completers>
@@ -202,13 +198,13 @@
             </gshell:completers>
         </gshell:command>
 
-        <gshell:command name="optional/grep">
+        <gshell:command name="grep">
             <gshell:action class="org.apache.geronimo.gshell.commands.text.GrepAction"/>
         </gshell:command>
     </gshell:command-bundle>
 
     <gshell:command-bundle>
-        <gshell:command name="vfs/cd">
+        <gshell:command name="cd">
             <gshell:action class="org.apache.geronimo.gshell.commands.file.ChangeDirectoryAction" parent="vfsCommandActionTemplate"/>
             <gshell:completers>
                 <ref bean="fileObjectNameCompleter"/>
@@ -216,11 +212,11 @@
             </gshell:completers>
         </gshell:command>
 
-        <gshell:command name="vfs/pwd" type="stateless">
+        <gshell:command name="pwd" type="stateless">
             <gshell:action class="org.apache.geronimo.gshell.commands.file.CurrentDirectoryAction" parent="vfsCommandActionTemplate"/>
         </gshell:command>
 
-        <gshell:command name="vfs/ls">
+        <gshell:command name="ls">
             <gshell:action class="org.apache.geronimo.gshell.commands.file.ListDirectoryAction" parent="vfsCommandActionTemplate"/>
             <gshell:completers>
                 <ref bean="fileObjectNameCompleter"/>
@@ -228,9 +224,9 @@
             </gshell:completers>
         </gshell:command>
 
-        <gshell:link name="vfs/dir" target="vfs/ls"/>
+        <gshell:link name="dir" target="ls"/>
 
-        <gshell:command name="vfs/cp">
+        <gshell:command name="cp">
             <gshell:action class="org.apache.geronimo.gshell.commands.file.CopyAction" parent="vfsCommandActionTemplate"/>
             <gshell:completers>
                 <ref bean="fileObjectNameCompleter"/>
@@ -239,9 +235,9 @@
             </gshell:completers>
         </gshell:command>
 
-        <gshell:link name="vfs/copy" target="vfs/cp"/>
+        <gshell:link name="copy" target="cp"/>
 
-        <gshell:command name="vfs/rm">
+        <gshell:command name="rm">
             <gshell:action class="org.apache.geronimo.gshell.commands.file.RemoveAction" parent="vfsCommandActionTemplate"/>
             <gshell:completers>
                 <ref bean="fileObjectNameCompleter"/>
@@ -249,15 +245,23 @@
             </gshell:completers>
         </gshell:command>
 
-        <gshell:link name="vfs/del" target="vfs/rm"/>
+        <gshell:link name="del" target="rm"/>
 
-        <gshell:command name="vfs/fileinfo">
+        <gshell:command name="fileinfo">
             <gshell:action class="org.apache.geronimo.gshell.commands.file.FileInfoAction" parent="vfsCommandActionTemplate"/>
             <gshell:completers>
                 <ref bean="fileObjectNameCompleter"/>
                 <null/>
             </gshell:completers>
         </gshell:command>
+
+        <gshell:command name="touch">
+            <gshell:action class="org.apache.geronimo.gshell.commands.file.TouchAction" parent="vfsCommandActionTemplate"/>
+            <gshell:completers>
+                <ref bean="fileObjectNameCompleter"/>
+                <null/>
+            </gshell:completers>
+        </gshell:command>
     </gshell:command-bundle>
 
 </beans>