diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-18 13:11:50 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-18 13:11:50 +0000 |
commit | 14a0ec53532b6c24f9d84e778c1d7cccf6ee461c (patch) | |
tree | 427e58e82938e25b8f95f1adc148a31e1e751c99 /sca-java-2.x/trunk | |
parent | 12d682d6fe8632db6149c894dc3d77ec6f3163e6 (diff) |
Fix Shell started command to not rely on the installed contributions (which may have been uninstalled)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1124252 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java index 75b78be54b..7c32d47e8c 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java @@ -460,24 +460,24 @@ public class Shell { if (nodes.size() > 0) {
for (Node node : nodes.values()) {
out.println("Domain: " + node.getDomainName());
- List<String> ics;
- if (toks.size() > 1) {
- ics = new ArrayList<String>();
- ics.add(toks.get(1));
- } else {
- ics = node.getInstalledContributionURIs();
- }
-
- for (String curi : ics) {
- List<String> cs = node.getStartedCompositeURIs().get(curi);
- if (cs != null) {
- for (String compositeURI : cs) {
- out.println(" " + curi
- + " "
- + compositeURI);
- }
+// List<String> ics;
+// if (toks.size() > 1) {
+// ics = new ArrayList<String>();
+// ics.add(toks.get(1));
+// } else {
+// ics = node.getInstalledContributionURIs();
+// }
+//
+// for (String curi : ics) {
+// List<String> cs = node.getStartedCompositeURIs().get(curi);
+// if (cs != null) {
+ for (String curi : node.getStartedCompositeURIs().keySet()) {
+ for (String compositeURI : node.getStartedCompositeURIs().get(curi)) {
+ out.println(" " + curi + " " + compositeURI);
}
}
+// }
+// }
}
}
return true;
|