commit | a61521e3cf3b332b64ac6922c84efc2b557c94ab | [log] [tgz] |
---|---|---|
author | Jason Dillon <jdillon@apache.org> | Fri Nov 28 07:07:25 2008 +0000 |
committer | Jason Dillon <jdillon@apache.org> | Fri Nov 28 07:07:25 2008 +0000 |
tree | c55904a4b982fcf50a99e08f4049f5a77526e9ac | |
parent | a1a64b84e64e8c7af11a70d73302985f7d8c9999 [diff] |
Moved printf to gshell-optional git-svn-id: https://svn.apache.org/repos/asf/geronimo/gshell/trunk@721359 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gshell-commands/gshell-builtins/src/main/resources/META-INF/gshell/components.xml b/gshell-commands/gshell-builtins/src/main/resources/META-INF/gshell/components.xml index 4436c0c..3b36b4a 100755 --- a/gshell-commands/gshell-builtins/src/main/resources/META-INF/gshell/components.xml +++ b/gshell-commands/gshell-builtins/src/main/resources/META-INF/gshell/components.xml
@@ -68,10 +68,6 @@ <gshell:link name="print" target="echo"/> - <gshell:command name="printf"> - <gshell:action class="org.apache.geronimo.gshell.commands.builtins.PrintfAction"/> - </gshell:command> - <gshell:command name="clear" type="stateless"> <gshell:action class="org.apache.geronimo.gshell.commands.builtins.ClearAction"/> </gshell:command>
diff --git a/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java b/gshell-commands/gshell-optional/src/main/java/org/apache/geronimo/gshell/commands/optional/PrintfAction.java similarity index 96% rename from gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java rename to gshell-commands/gshell-optional/src/main/java/org/apache/geronimo/gshell/commands/optional/PrintfAction.java index 694a4a1..7b3959b 100644 --- a/gshell-commands/gshell-builtins/src/main/java/org/apache/geronimo/gshell/commands/builtins/PrintfAction.java +++ b/gshell-commands/gshell-optional/src/main/java/org/apache/geronimo/gshell/commands/optional/PrintfAction.java
@@ -17,7 +17,7 @@ * under the License. */ -package org.apache.geronimo.gshell.commands.builtins; +package org.apache.geronimo.gshell.commands.optional; import org.apache.geronimo.gshell.clp.Argument; import org.apache.geronimo.gshell.command.CommandAction;
diff --git a/gshell-commands/gshell-optional/src/main/resources/META-INF/gshell/components.xml b/gshell-commands/gshell-optional/src/main/resources/META-INF/gshell/components.xml index c27e922..95b94be 100644 --- a/gshell-commands/gshell-optional/src/main/resources/META-INF/gshell/components.xml +++ b/gshell-commands/gshell-optional/src/main/resources/META-INF/gshell/components.xml
@@ -37,6 +37,10 @@ <gshell:plugin name="gshell-optional"> <gshell:command-bundle name="default"> + <gshell:command name="printf"> + <gshell:action class="org.apache.geronimo.gshell.commands.optional.PrintfAction"/> + </gshell:command> + <gshell:command name="exec"> <gshell:action class="org.apache.geronimo.gshell.commands.optional.ExecuteAction"/> </gshell:command>
diff --git a/gshell-commands/gshell-builtins/src/main/resources/org/apache/geronimo/gshell/commands/builtins/PrintfAction.properties b/gshell-commands/gshell-optional/src/main/resources/org/apache/geronimo/gshell/commands/optional/PrintfAction.properties similarity index 100% rename from gshell-commands/gshell-builtins/src/main/resources/org/apache/geronimo/gshell/commands/builtins/PrintfAction.properties rename to gshell-commands/gshell-optional/src/main/resources/org/apache/geronimo/gshell/commands/optional/PrintfAction.properties