Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 39609 invoked from network); 26 Jul 2007 21:45:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 21:45:55 -0000 Received: (qmail 51850 invoked by uid 500); 26 Jul 2007 21:45:56 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 51802 invoked by uid 500); 26 Jul 2007 21:45:56 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 51789 invoked by uid 99); 26 Jul 2007 21:45:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 14:45:56 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 14:45:54 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A8B841A981A; Thu, 26 Jul 2007 14:45:34 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r560004 - /geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy Date: Thu, 26 Jul 2007 21:45:34 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070726214534.A8B841A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 + } }