You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2008/10/25 08:19:58 UTC

svn commit: r707819 - /geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy

Author: djencks
Date: Fri Oct 24 23:19:58 2008
New Revision: 707819

URL: http://svn.apache.org/viewvc?rev=707819&view=rev
Log:
GERONIMO-4378 Remove accidental support for -s option

Modified:
    geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy

Modified: geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?rev=707819&r1=707818&r2=707819&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy (original)
+++ geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy Fri Oct 24 23:19:58 2008
@@ -77,9 +77,6 @@
     @Option(name='--secure', description='Use secure channel')
     boolean secure = false
 
-    @Option(name='-s', aliases=['--server'], description="Server name (when running mulitple servers from one installation)")
-    String server;
-        
     protected Object doExecute() throws Exception {
         ant = new AntBuilder(log, io)
         
@@ -95,9 +92,6 @@
         properties['java.endorsed.dirs'] = prefixSystemPath('java.endorsed.dirs', new File(geronimoHome, 'lib/endorsed'))
         properties['java.ext.dirs'] = prefixSystemPath('java.ext.dirs', new File(geronimoHome, 'lib/ext'))
 
-        if (server) {
-            properties['org.apache.geronimo.server.name'] = server
-        }
         processScripts()
         
         // Setup default java flags