tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1124646 - /tuscany/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
Date Thu, 19 May 2011 09:46:54 GMT
Author: antelder
Date: Thu May 19 09:46:53 2011
New Revision: 1124646

URL: http://svn.apache.org/viewvc?rev=1124646&view=rev
Log:
Update for latest APIs to explicitly start the deployable composites of a passed in contribution

Modified:
    tuscany/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java

Modified: tuscany/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java?rev=1124646&r1=1124645&r2=1124646&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
Thu May 19 09:46:53 2011
@@ -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);
         }
         
         



Mime
View raw message