geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r703522 - /geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
Date Fri, 10 Oct 2008 16:55:19 GMT
Author: jdillon
Date: Fri Oct 10 09:55:19 2008
New Revision: 703522

URL: http://svn.apache.org/viewvc?rev=703522&view=rev
Log:
Disable the location bits until it actually can do something

Modified:
    geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java

Modified: geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java?rev=703522&r1=703521&r2=703522&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
(original)
+++ geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
Fri Oct 10 09:55:19 2008
@@ -78,11 +78,13 @@
         System.setProperty("gshell.log.console.level", level);
     }
 
+    /*
     @Option(name="-a", aliases={"--application"})
     private String applicationDescriptor;
 
     @Option(name="-s", aliases={"--settings"})
     private String settingsDescriptor;
+    */
 
     @Option(name="-e", aliases={"--exception"})
     private void setException(boolean flag) {
@@ -218,12 +220,12 @@
 
             // Find our settings descriptor
             SettingsModel settingsModel = new SettingsModelLocator().
-                    addLocation(settingsDescriptor).locate();
+                    /*addLocation(settingsDescriptor).*/locate();
             builder.setSettingsModel(settingsModel);
 
             // Find our application descriptor
             ApplicationModel applicationModel = new ApplicationModelLocator().
-                    addLocation(applicationDescriptor).locate();
+                    /*addLocation(applicationDescriptor).*/locate();
             builder.setApplicationModel(applicationModel);
 
             // --help and --version need access to the application's information, so we have
to handle these options late



Mime
View raw message