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/26 23:45:34 UTC
svn commit: r560004 -
/geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Author: jdillon
Date: Thu Jul 26 14:45:33 2007
New Revision: 560004
URL: http://svn.apache.org/viewvc?view=rev&rev=560004
Log:
Add basic command crapo
Modified:
geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Modified: geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?view=diff&rev=560004&r1=560003&r2=560004
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy (original)
+++ geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy Thu Jul 26 14:45:33 2007
@@ -19,11 +19,44 @@
package org.apache.geronimo.commands
+import org.apache.geronimo.gshell.command.CommandSupport
+import org.apache.geronimo.gshell.command.CommandException
+
+import org.apache.commons.cli.CommandLine
+
/**
* ???
*
* @version $Id$
*/
class StartServerCommand
+ extends CommandSupport
{
+ StartServerCommand() {
+ super('start-server')
+ }
+
+ protected String getUsage() {
+ return super.usage // TODO:
+ }
+
+ protected boolean processCommandLine(CommandLine line) throws CommandException {
+ assert line
+
+ //
+ // TODO:
+ //
+
+ return true
+ }
+
+ protected Object doExecute(Object[] args) throws Exception {
+ assert args
+
+ //
+ // TODO:
+ //
+
+ return Command.SUCCESS
+ }
}