summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-19 09:46:53 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-19 09:46:53 +0000
commit6edb24696e393fbdf21046a0100d8f8ea018d7fa (patch)
tree75f2ac45354a097c61248a9e7a3d8dda3c49a123 /sca-java-2.x/trunk
parent7add810c8ceb0a99fa9d2c32e2578e352f575372 (diff)
Update for latest APIs to explicitly start the deployable composites of a passed in contribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1124646 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.java7
1 files changed, 4 insertions, 3 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 e49ce33c64..2403cab294 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
@@ -99,9 +99,10 @@ public class Shell {
shell.help(null);
}
if (contribution != null) {
- System.out.println();
- System.out.println("install " + contribution + " -start");
- shell.install(Arrays.asList(new String[]{"install", contribution, "-start"}));
+ System.out.println();
+ System.out.println("install " + contribution + " -start");
+ String curi = shell.getNode().installContribution(contribution);
+ shell.getNode().startDeployables(curi);
}