You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2008/03/19 18:36:40 UTC
svn commit: r638948 -
/geronimo/server/branches/2.1/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Author: gawor
Date: Wed Mar 19 10:36:39 2008
New Revision: 638948
URL: http://svn.apache.org/viewvc?rev=638948&view=rev
Log:
let user specify username, password, and port number used to check the server startup status (GERONIMO-3906)
Modified:
geronimo/server/branches/2.1/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Modified: geronimo/server/branches/2.1/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?rev=638948&r1=638947&r2=638948&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy (original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy Wed Mar 19 10:36:39 2008
@@ -64,10 +64,13 @@
String hostname = 'localhost'
+ @Option(name='-p', aliases=['--port'], description='RMI Naming port (used to check server startup status)')
int port = 1099
+ @Option(name='-u', aliases=['--username'], description='Username (used to check server startup status)')
String username = 'system'
+ @Option(name='-w', aliases=['--password'], description='Password (used to check server startup status)')
String password = 'manager'
protected Object doExecute() throws Exception {