geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r390690 - /geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/CommandListConfigurations.java
Date Sat, 01 Apr 2006 16:11:24 GMT
Author: ammulder
Date: Sat Apr  1 08:11:22 2006
New Revision: 390690

URL: http://svn.apache.org/viewcvs?rev=390690&view=rev
Log:
Only prompt for eligible configurations at the command line

Modified:
    geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/CommandListConfigurations.java

Modified: geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/CommandListConfigurations.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/CommandListConfigurations.java?rev=390690&r1=390689&r2=390690&view=diff
==============================================================================
--- geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/CommandListConfigurations.java
(original)
+++ geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/CommandListConfigurations.java
Sat Apr  1 08:11:22 2006
@@ -97,7 +97,7 @@
                 for (int i = 0; i < items.size(); i++) {
                     ConfigurationMetadata metadata = (ConfigurationMetadata) items.get(i);
                     String prefix = "    ";
-                    if(!metadata.isInstalled()) {
+                    if(!metadata.isInstalled() && metadata.isEligible()) {
                         available.add(metadata);
                         prefix = Integer.toString(available.size());
                         if(available.size() < 10) {



Mime
View raw message