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 2008/11/28 12:25:43 UTC
svn commit: r721437 [2/2] - in /geronimo/gshell/trunk: ./
gshell-assembly/src/main/underlay/etc/ gshell-commands/
gshell-commands/gshell-netutils/
gshell-commands/gshell-netutils/src/main/java/org/apache/geronimo/gshell/commands/netutils/
gshell-comman...
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/java/org/apache/geronimo/gshell/commands/textutils/PrintfAction.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/java/org/apache/geronimo/gshell/commands/textutils/PrintfAction.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/java/org/apache/geronimo/gshell/commands/textutils/PrintfAction.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/META-INF/gshell/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/META-INF/gshell/components.xml?rev=721437&r1=721400&r2=721437&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/META-INF/gshell/components.xml (original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/META-INF/gshell/components.xml Fri Nov 28 03:25:42 2008
@@ -38,47 +38,11 @@
<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>
-
- <gshell:command name="java">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.JavaAction"/>
- </gshell:command>
-
- <gshell:command name="sleep">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.SleepAction"/>
- </gshell:command>
-
- <gshell:command name="date">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.DateAction"/>
- </gshell:command>
-
- <gshell:command name="hostname">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.HostnameAction"/>
+ <gshell:action class="org.apache.geronimo.gshell.commands.textutils.PrintfAction"/>
</gshell:command>
<gshell:command name="cat">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.CatAction" parent="vfsCommandActionTemplate"/>
- <gshell:completers>
- <ref bean="fileObjectNameCompleter"/>
- <null/>
- </gshell:completers>
- </gshell:command>
-
- <gshell:command name="edit">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.EditAction" parent="vfsCommandActionTemplate"/>
- <gshell:completers>
- <ref bean="fileObjectNameCompleter"/>
- <null/>
- </gshell:completers>
- </gshell:command>
-
- <gshell:command name="find">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.FindAction" parent="vfsCommandActionTemplate"/>
+ <gshell:action class="org.apache.geronimo.gshell.commands.textutils.CatAction" parent="vfsCommandActionTemplate"/>
<gshell:completers>
<ref bean="fileObjectNameCompleter"/>
<null/>
@@ -86,7 +50,7 @@
</gshell:command>
<gshell:command name="grep">
- <gshell:action class="org.apache.geronimo.gshell.commands.optional.GrepAction" parent="vfsCommandActionTemplate"/>
+ <gshell:action class="org.apache.geronimo.gshell.commands.textutils.GrepAction" parent="vfsCommandActionTemplate"/>
</gshell:command>
</gshell:command-bundle>
</gshell:plugin>
Added: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties?rev=721437&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties (added)
+++ geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties Fri Nov 28 03:25:42 2008
@@ -0,0 +1,32 @@
+##
+## 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$
+##
+
+command.description=Displays the contents of a file.
+
+command.argument.path=Path of file to display
+command.argument.path.token=PATH
+
+command.option.displayLineNumbers=Number the output lines, starting at 1
+
+command.manual=\
+ TODO: cat manual
\ No newline at end of file
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/CatAction.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties?rev=721437&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties (added)
+++ geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties Fri Nov 28 03:25:42 2008
@@ -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$
+##
+
+command.description=Displays lines matching a pattern.
+
+command.argument.pattern=Pattern to match
+command.argument.pattern.token=PATTERN
+
+command.argument.path=Path of file to search
+command.argument.path.token=PATH
+
+command.option.count=Suppress normal output; instead print a count of matching lines for each input file
+
+command.option.ignoreCase=Ignore case distinctions in both the PATTERN and the input files
+
+command.option.lineNumbers=Prefix each line of output with the line number within its input file
+
+command.option.invertMatch=Invert the sense of matching, to select non-matching lines
+
+command.manual=\
+ TODO: grep manual
\ No newline at end of file
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties
------------------------------------------------------------------------------
svn:mergeinfo =
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/GrepAction.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties?rev=721437&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties (added)
+++ geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties Fri Nov 28 03:25:42 2008
@@ -0,0 +1,33 @@
+##
+## 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$
+##
+
+command.description=Print formatted output.
+
+command.argument.format=Output format
+command.argument.format.token=FORMAT
+
+command.argument.arguments=Format arguments
+command.argument.arguments.token=ARGUMENTS
+
+command.manual=\
+ TODO: printf manual
\ No newline at end of file
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/gshell/trunk/gshell-commands/gshell-textutils/src/main/resources/org/apache/geronimo/gshell/commands/textutils/PrintfAction.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/gshell/trunk/gshell-commands/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/pom.xml?rev=721437&r1=721436&r2=721437&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/pom.xml (original)
+++ geronimo/gshell/trunk/gshell-commands/pom.xml Fri Nov 28 03:25:42 2008
@@ -59,10 +59,12 @@
<modules>
<module>gshell-builtins</module>
<module>gshell-admin</module>
- <module>gshell-optional</module>
+ <module>gshell-fileutils</module>
+ <module>gshell-netutils</module>
+ <module>gshell-shellutils</module>
+ <module>gshell-textutils</module>
<module>gshell-repository</module>
<module>gshell-bsf</module>
- <module>gshell-fileutils</module>
<module>gshell-log4j</module>
<module>gshell-ssh</module>
</modules>
Modified: geronimo/gshell/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/pom.xml?rev=721437&r1=721436&r2=721437&view=diff
==============================================================================
--- geronimo/gshell/trunk/pom.xml (original)
+++ geronimo/gshell/trunk/pom.xml Fri Nov 28 03:25:42 2008
@@ -340,28 +340,40 @@
<dependency>
<groupId>org.apache.geronimo.gshell.commands</groupId>
- <artifactId>gshell-optional</artifactId>
+ <artifactId>gshell-repository</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.gshell.commands</groupId>
- <artifactId>gshell-repository</artifactId>
+ <artifactId>gshell-bsf</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.gshell.commands</groupId>
- <artifactId>gshell-bsf</artifactId>
+ <artifactId>gshell-fileutils</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.gshell.commands</groupId>
- <artifactId>gshell-fileutils</artifactId>
+ <artifactId>gshell-netutils</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
</dependency>
-
+
+ <dependency>
+ <groupId>org.apache.geronimo.gshell.commands</groupId>
+ <artifactId>gshell-shellutils</artifactId>
+ <version>1.0-alpha-2-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.gshell.commands</groupId>
+ <artifactId>gshell-textutils</artifactId>
+ <version>1.0-alpha-2-SNAPSHOT</version>
+ </dependency>
+
<dependency>
<groupId>org.apache.geronimo.gshell.commands</groupId>
<artifactId>gshell-log4j</artifactId>