geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject svn commit: r536479 - in /geronimo/server/trunk/modules/geronimo-cli/src: main/java/org/apache/geronimo/cli/deployer/DeployerCLParser.java test/java/org/apache/geronimo/cli/deployer/DeployerCLParserTest.java
Date Wed, 09 May 2007 10:22:07 GMT
Author: gdamour
Date: Wed May  9 03:22:06 2007
New Revision: 536479

URL: http://svn.apache.org/viewvc?view=rev&rev=536479
Log:
Replace the short form of uri with U. The previous short form, i.e. u, was
conflicting with the short of user.

This fixes GERONIMO-3147 Unable to deploy anything from the command line (trunk). Patch provided
by Jay D. McHugh.

Modified:
    geronimo/server/trunk/modules/geronimo-cli/src/main/java/org/apache/geronimo/cli/deployer/DeployerCLParser.java
    geronimo/server/trunk/modules/geronimo-cli/src/test/java/org/apache/geronimo/cli/deployer/DeployerCLParserTest.java

Modified: geronimo/server/trunk/modules/geronimo-cli/src/main/java/org/apache/geronimo/cli/deployer/DeployerCLParser.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-cli/src/main/java/org/apache/geronimo/cli/deployer/DeployerCLParser.java?view=diff&rev=536479&r1=536478&r2=536479
==============================================================================
--- geronimo/server/trunk/modules/geronimo-cli/src/main/java/org/apache/geronimo/cli/deployer/DeployerCLParser.java
(original)
+++ geronimo/server/trunk/modules/geronimo-cli/src/main/java/org/apache/geronimo/cli/deployer/DeployerCLParser.java
Wed May  9 03:22:06 2007
@@ -37,7 +37,7 @@
  * @version $Rev: 476049 $ $Date: 2006-11-17 15:35:17 +1100 (Fri, 17 Nov 2006) $
  */
 public class DeployerCLParser extends BaseCLParser {
-    private final static String ARGUMENT_URI_SHORTFORM = "u";
+    private final static String ARGUMENT_URI_SHORTFORM = "U";
     private final static String ARGUMENT_URI = "uri";
     
     private final static String ARGUMENT_HOST_SHORTFORM = "host";

Modified: geronimo/server/trunk/modules/geronimo-cli/src/test/java/org/apache/geronimo/cli/deployer/DeployerCLParserTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-cli/src/test/java/org/apache/geronimo/cli/deployer/DeployerCLParserTest.java?view=diff&rev=536479&r1=536478&r2=536479
==============================================================================
--- geronimo/server/trunk/modules/geronimo-cli/src/test/java/org/apache/geronimo/cli/deployer/DeployerCLParserTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-cli/src/test/java/org/apache/geronimo/cli/deployer/DeployerCLParserTest.java
Wed May  9 03:22:06 2007
@@ -52,7 +52,7 @@
 
     public void testURI() throws Exception {
         String uri = "uri";
-        parser.parse(new String[] {"-u", uri, "start", "dummyID"});
+        parser.parse(new String[] {"-U", uri, "start", "dummyID"});
         assertEquals(uri, parser.getURI());
         
         parser.parse(new String[] {"--uri", uri, "start", "dummyID"});



Mime
View raw message