You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/03/17 11:04:44 UTC

svn commit: r637815 - in /incubator/tuscany/java/sca/tutorial/domain: ./ launch/

Author: jsdelfino
Date: Mon Mar 17 03:04:40 2008
New Revision: 637815

URL: http://svn.apache.org/viewvc?rev=637815&view=rev
Log:
Changed tutorial to use the new launchers.

Modified:
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCatalogsNode.java
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCurrencyNode.java
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreDBNode.java
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreEUNode.java
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreMergerNode.java
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreNode.java
    incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreSupplierNode.java
    incubator/tuscany/java/sca/tutorial/domain/pom.xml

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCatalogsNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCatalogsNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCatalogsNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCatalogsNode.java Mon Mar 17 03:04:40 2008
@@ -19,10 +19,10 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 public class LaunchCatalogsNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:CatalogsNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/CatalogsNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCurrencyNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCurrencyNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCurrencyNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchCurrencyNode.java Mon Mar 17 03:04:40 2008
@@ -19,10 +19,10 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 public class LaunchCurrencyNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:CurrencyNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/CurrencyNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreDBNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreDBNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreDBNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreDBNode.java Mon Mar 17 03:04:40 2008
@@ -19,11 +19,11 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 
 public class LaunchStoreDBNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:StoreDBNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/StoreDBNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreEUNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreEUNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreEUNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreEUNode.java Mon Mar 17 03:04:40 2008
@@ -19,10 +19,10 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 public class LaunchStoreEUNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:StoreEUNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/StoreEUNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreMergerNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreMergerNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreMergerNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreMergerNode.java Mon Mar 17 03:04:40 2008
@@ -19,10 +19,10 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 public class LaunchStoreMergerNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:StoreMergerNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/StoreMergerNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreNode.java Mon Mar 17 03:04:40 2008
@@ -19,10 +19,10 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 public class LaunchStoreNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:StoreNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/StoreNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreSupplierNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreSupplierNode.java?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreSupplierNode.java (original)
+++ incubator/tuscany/java/sca/tutorial/domain/launch/LaunchStoreSupplierNode.java Mon Mar 17 03:04:40 2008
@@ -19,10 +19,10 @@
 
 package launch;
 
-import org.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncher;
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
 
 public class LaunchStoreSupplierNode {
     public static void main(String[] args) throws Exception {
-        NodeImplementationLauncher.main(new String[] {"http://localhost:9990/node-image/node:StoreSupplierNode"});
+        NodeLauncher.main(new String[] {"http://localhost:9990/node-image/StoreSupplierNode"});
     }
 }

Modified: incubator/tuscany/java/sca/tutorial/domain/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/pom.xml?rev=637815&r1=637814&r2=637815&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/domain/pom.xml Mon Mar 17 03:04:40 2008
@@ -38,6 +38,12 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-node2-launcher</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-workspace-admin</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
         </dependency>
@@ -46,6 +52,7 @@
             <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-implementation-node-runtime</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
         </dependency>
 
         <dependency>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org