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/09 05:21:56 UTC

svn commit: r635163 - in /incubator/tuscany/java/sca/tutorial: assets/ catalog-jee/ cloud/ cloud/launch/ domain/ nodes/ nodes/launch/ store-db/ store-db/launch/ store-eu/ store-eu/launch/ store-merger/ store-merger/launch/ store-supplier/ store-supplie...

Author: jsdelfino
Date: Sat Mar  8 20:21:55 2008
New Revision: 635163

URL: http://svn.apache.org/viewvc?rev=635163&view=rev
Log:
Ported node launchers to the node2 implementation. Moved them to the nodes module to allow application modules to not require any runtime dependencies. Adjust tutorial pom.xml files which are now much simpler. Added all tutorial modules to the domain configuration.

Added:
    incubator/tuscany/java/sca/tutorial/nodes/launch/
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java   (with props)
Removed:
    incubator/tuscany/java/sca/tutorial/cloud/launch/
    incubator/tuscany/java/sca/tutorial/cloud/tuscany.properties
    incubator/tuscany/java/sca/tutorial/store-db/launch/
    incubator/tuscany/java/sca/tutorial/store-eu/launch/
    incubator/tuscany/java/sca/tutorial/store-merger/launch/
    incubator/tuscany/java/sca/tutorial/store-supplier/launch/
    incubator/tuscany/java/sca/tutorial/store/launch/
Modified:
    incubator/tuscany/java/sca/tutorial/assets/pom.xml
    incubator/tuscany/java/sca/tutorial/catalog-jee/pom.xml
    incubator/tuscany/java/sca/tutorial/cloud/pom.xml
    incubator/tuscany/java/sca/tutorial/domain/domain.composite
    incubator/tuscany/java/sca/tutorial/domain/pom.xml
    incubator/tuscany/java/sca/tutorial/domain/workspace.xml
    incubator/tuscany/java/sca/tutorial/nodes/pom.xml
    incubator/tuscany/java/sca/tutorial/store-db/pom.xml
    incubator/tuscany/java/sca/tutorial/store-eu/pom.xml
    incubator/tuscany/java/sca/tutorial/store-merger/pom.xml
    incubator/tuscany/java/sca/tutorial/store-supplier/pom.xml
    incubator/tuscany/java/sca/tutorial/store/pom.xml

Modified: incubator/tuscany/java/sca/tutorial/assets/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/assets/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/assets/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/assets/pom.xml Sat Mar  8 20:21:55 2008
@@ -53,14 +53,6 @@
             <artifactId>derby</artifactId>
             <version>10.1.2.1</version>
         </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
     
     <build>

Modified: incubator/tuscany/java/sca/tutorial/catalog-jee/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/catalog-jee/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/catalog-jee/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/catalog-jee/pom.xml Sat Mar  8 20:21:55 2008
@@ -36,32 +36,6 @@
     </repositories>
 
     <dependencies>
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tutorial-assets</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-ejb</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-ejb</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
     
     <build>
@@ -86,8 +60,6 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <configuration>
-                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>

Modified: incubator/tuscany/java/sca/tutorial/cloud/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/cloud/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/cloud/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/cloud/pom.xml Sat Mar  8 20:21:55 2008
@@ -38,62 +38,8 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
+            <artifactId>tuscany-sca-api</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-domain-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-sca-axis2</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-        
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
         </dependency>
     </dependencies>
     

Modified: incubator/tuscany/java/sca/tutorial/domain/domain.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/domain.composite?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/domain.composite (original)
+++ incubator/tuscany/java/sca/tutorial/domain/domain.composite Sat Mar  8 20:21:55 2008
@@ -3,6 +3,10 @@
   targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0"
   xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:ns1="http://www.osoa.org/xmlns/sca/1.0">
   <include name="ns2:store" uri="store" xmlns:ns2="http://store"/>
+  <include name="ns2:store-merger" uri="store-merger" xmlns:ns2="http://store"/>
+  <include name="ns2:store-db" uri="store-db" xmlns:ns2="http://store"/>
+  <include name="ns2:store-supplier" uri="store-supplier" xmlns:ns2="http://store"/>
+  <include name="ns2:store-eu" uri="store-eu" xmlns:ns2="http://store"/>
   <include name="ns2:catalogs" uri="cloud" xmlns:ns2="http://cloud"/>
   <include name="ns2:currency" uri="cloud" xmlns:ns2="http://cloud"/>
 </composite>

Modified: incubator/tuscany/java/sca/tutorial/domain/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/domain/pom.xml Sat Mar  8 20:21:55 2008
@@ -41,6 +41,55 @@
             <artifactId>tuscany-workspace-admin</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
         </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-java-runtime</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-widget</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-feed-atom</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-jsonrpc</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-http</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-ws-axis2</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-sca-axis2</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
     </dependencies>
     
     <build>
@@ -64,6 +113,9 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
+                        <configuration>
+                            <mainClass>launch.LaunchTutorialAdmin</mainClass>
+                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>

Modified: incubator/tuscany/java/sca/tutorial/domain/workspace.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/domain/workspace.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/domain/workspace.xml (original)
+++ incubator/tuscany/java/sca/tutorial/domain/workspace.xml Sat Mar  8 20:21:55 2008
@@ -1,7 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0" xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0">
   <contribution location="http://localhost:9990/files/file:../assets/target/tutorial-assets.jar" uri="assets"/>
-  <contribution location="http://localhost:9990/files/file:../store/target/tutorial-store.jar" uri="store"/>
   <contribution location="http://localhost:9990/files/file:../cloud/target/tutorial-cloud.jar" uri="cloud"/>
+  <contribution location="http://localhost:9990/files/file:../store/target/tutorial-store.jar" uri="store"/>
+  <contribution location="http://localhost:9990/files/file:../store-merger/target/tutorial-store-merger.jar" uri="store-merger"/>
+  <contribution location="http://localhost:9990/files/file:../store-db/target/tutorial-store-db.jar" uri="store-db"/>
+  <contribution location="http://localhost:9990/files/file:../store-supplier/target/tutorial-store-supplier.jar" uri="store-supplier"/>
+  <contribution location="http://localhost:9990/files/file:../store-eu/target/tutorial-store-eu.jar" uri="store-eu"/>
   <contribution location="http://localhost:9990/files/file:../nodes/target/tutorial-nodes.jar" uri="nodes"/>
 </workspace>

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+public class LaunchCatalogsNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:cloud;http://cloud;catalogs"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCatalogsNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+public class LaunchCurrencyNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:cloud;http://cloud;currency"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchCurrencyNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+
+public class LaunchStoreDBNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:store-db;http://store;store-db"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreDBNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+public class LaunchStoreEUNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:store-eu;http://store;store-eu"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreEUNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+public class LaunchStoreMergerNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:store-merger;http://store;store-merger"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreMergerNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+public class LaunchStoreNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:store;http://store;store"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java?rev=635163&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java Sat Mar  8 20:21:55 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package launch;
+
+import org.apache.tuscany.sca.node.launch.SCANode2Launcher;
+
+public class LaunchStoreSupplierNode {
+    public static void main(String[] args) throws Exception {
+        SCANode2Launcher.main(new String[] {"http://localhost:9990/package/?composite=composite:store-supplier;http://store;store-supplier"});
+    }
+}

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/launch/LaunchStoreSupplierNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/tuscany/java/sca/tutorial/nodes/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/nodes/pom.xml Sat Mar  8 20:21:55 2008
@@ -36,6 +36,96 @@
     </repositories>
 
     <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-node2-api</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-host-tomcat</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-node2-impl</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-java-runtime</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-widget</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-feed-atom</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-jsonrpc</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-http</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-ejb</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-ejb</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-ws-axis2</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-sca-axis2</artifactId>
+            <version>1.2-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
     
     <build>

Modified: incubator/tuscany/java/sca/tutorial/store-db/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-db/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-db/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/store-db/pom.xml Sat Mar  8 20:21:55 2008
@@ -38,66 +38,9 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
+            <artifactId>tuscany-sca-api</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-widget</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-feed-atom</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jsonrpc</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-http</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
     
     <build>
@@ -121,9 +64,6 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <configuration>
-                            <mainClass>launch.LaunchStoreDB</mainClass>
-                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>

Modified: incubator/tuscany/java/sca/tutorial/store-eu/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-eu/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-eu/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/store-eu/pom.xml Sat Mar  8 20:21:55 2008
@@ -38,65 +38,9 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
+            <artifactId>tuscany-sca-api</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-widget</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-feed-atom</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jsonrpc</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-http</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
     
     <build>
@@ -120,9 +64,6 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <configuration>
-                            <mainClass>launch.LaunchEUStore</mainClass>
-                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>

Modified: incubator/tuscany/java/sca/tutorial/store-merger/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-merger/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-merger/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/store-merger/pom.xml Sat Mar  8 20:21:55 2008
@@ -38,66 +38,9 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
+            <artifactId>tuscany-sca-api</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-widget</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-feed-atom</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jsonrpc</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-http</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
     
     <build>
@@ -121,9 +64,6 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <configuration>
-                            <mainClass>launch.LaunchStoreMerger</mainClass>
-                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>

Modified: incubator/tuscany/java/sca/tutorial/store-supplier/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-supplier/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-supplier/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/store-supplier/pom.xml Sat Mar  8 20:21:55 2008
@@ -38,66 +38,9 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
+            <artifactId>tuscany-sca-api</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-widget</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-feed-atom</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jsonrpc</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-http</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
     
     <build>
@@ -121,9 +64,6 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <configuration>
-                            <mainClass>launch.LaunchStoreSupplier</mainClass>
-                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>

Modified: incubator/tuscany/java/sca/tutorial/store/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/pom.xml?rev=635163&r1=635162&r2=635163&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/pom.xml (original)
+++ incubator/tuscany/java/sca/tutorial/store/pom.xml Sat Mar  8 20:21:55 2008
@@ -38,86 +38,9 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
+            <artifactId>tuscany-sca-api</artifactId>
             <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-api</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-impl</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-widget</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-feed-atom</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jsonrpc</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-ejb</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>        
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-http</artifactId>
-            <version>1.2-incubating-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
     
     <build>
@@ -141,9 +64,6 @@
                 <version>1.2-incubating-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <configuration>
-                            <mainClass>launch.LaunchStore</mainClass>
-                        </configuration>
                         <goals>
                             <goal>generate</goal>
                         </goals>



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