You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/01/22 12:16:01 UTC

svn commit: r902059 [2/2] - in /tuscany/sandbox/travelsample: ./ distribution/ distribution/src/main/components/ domainconfig/ domainconfig/fullapp/ domainconfig/fullapp/src/ domainconfig/fullapp/src/main/ domainconfig/fullapp/src/main/resources/ domai...

Added: tuscany/sandbox/travelsample/launchers/introducing-domain/src/main/java/scatours/IntroducingDomainLauncher.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-domain/src/main/java/scatours/IntroducingDomainLauncher.java?rev=902059&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-domain/src/main/java/scatours/IntroducingDomainLauncher.java (added)
+++ tuscany/sandbox/travelsample/launchers/introducing-domain/src/main/java/scatours/IntroducingDomainLauncher.java Fri Jan 22 11:15:58 2010
@@ -0,0 +1,30 @@
+/*
+ * 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 scatours;
+
+import org.apache.tuscany.sca.node.launcher.DomainManagerLauncher;
+
+public class IntroducingDomainLauncher {
+
+    public static void main(String[] args) throws Exception {
+        String[] dmArgs = {"../domainconfig/introducing"};
+        DomainManagerLauncher.main(dmArgs);
+    }
+}

Propchange: tuscany/sandbox/travelsample/launchers/introducing-tours/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jan 22 11:15:58 2010
@@ -0,0 +1,15 @@
+target
+*.iws
+*.ipr
+*.iml
+.project
+.classpath
+maven.log
+velocity.log*
+junit*.properties
+surefire*.properties
+.settings
+.deployables
+.wtpmodules
+.externalToolBuilders
+maven-eclipse.xml

Modified: tuscany/sandbox/travelsample/launchers/introducing-tours/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-tours/build.xml?rev=902059&r1=902058&r2=902059&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-tours/build.xml (original)
+++ tuscany/sandbox/travelsample/launchers/introducing-tours/build.xml Fri Jan 22 11:15:58 2010
@@ -18,7 +18,7 @@
 -->
 
 <project name="scatours-launcher-introducing-tours" default="run">
-    <property environment="env"/> 
+    <import file="../../antdefs.xml"/>
 
     <target name="run">
         <java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher" fork="true">

Added: tuscany/sandbox/travelsample/launchers/introducing-tours/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-tours/pom.xml?rev=902059&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-tours/pom.xml (added)
+++ tuscany/sandbox/travelsample/launchers/introducing-tours/pom.xml Fri Jan 22 11:15:58 2010
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * 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.    
+-->
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.tuscany.sca</groupId>
+        <artifactId>scatours</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent><version>1.0-SNAPSHOT</version>
+    <artifactId>scatours-launcher-introducing-tours</artifactId>
+    <name>Apache Tuscany SCA Tours Introducing Tours Launcher</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-node-launcher</artifactId>
+            <version>${tuscany.version}</version>
+        </dependency>
+    </dependencies>
+    
+    <build>
+       <finalName>${artifactId}</finalName>
+       <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.2</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                            <classpathPrefix>../lib/</classpathPrefix>
+                            <mainClass>scatours.IntroducingToursLauncher</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>  
+        </plugins>            
+    </build>
+</project>

Added: tuscany/sandbox/travelsample/launchers/introducing-tours/src/main/java/scatours/IntroducingToursLauncher.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-tours/src/main/java/scatours/IntroducingToursLauncher.java?rev=902059&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-tours/src/main/java/scatours/IntroducingToursLauncher.java (added)
+++ tuscany/sandbox/travelsample/launchers/introducing-tours/src/main/java/scatours/IntroducingToursLauncher.java Fri Jan 22 11:15:58 2010
@@ -0,0 +1,30 @@
+/*
+ * 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 scatours;
+
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
+
+public class IntroducingToursLauncher {
+
+    public static void main(String[] args) throws Exception {
+        String[] dmArgs = {"http://localhost:9990/node-config/ToursNode"};
+    	NodeLauncher.main(dmArgs);
+    }
+}

Propchange: tuscany/sandbox/travelsample/launchers/introducing-trips/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jan 22 11:15:58 2010
@@ -0,0 +1,15 @@
+target
+*.iws
+*.ipr
+*.iml
+.project
+.classpath
+maven.log
+velocity.log*
+junit*.properties
+surefire*.properties
+.settings
+.deployables
+.wtpmodules
+.externalToolBuilders
+maven-eclipse.xml

Modified: tuscany/sandbox/travelsample/launchers/introducing-trips/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-trips/build.xml?rev=902059&r1=902058&r2=902059&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-trips/build.xml (original)
+++ tuscany/sandbox/travelsample/launchers/introducing-trips/build.xml Fri Jan 22 11:15:58 2010
@@ -18,7 +18,7 @@
 -->
 
 <project name="scatours-launcher-introducing-trips" default="run">
-    <property environment="env"/> 
+    <import file="../../antdefs.xml"/>
 
     <target name="run">
         <java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher" fork="true">

Added: tuscany/sandbox/travelsample/launchers/introducing-trips/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-trips/pom.xml?rev=902059&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-trips/pom.xml (added)
+++ tuscany/sandbox/travelsample/launchers/introducing-trips/pom.xml Fri Jan 22 11:15:58 2010
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * 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.    
+-->
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.tuscany.sca</groupId>
+        <artifactId>scatours</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent><version>1.0-SNAPSHOT</version>
+    <artifactId>scatours-launcher-introducing-trips</artifactId>
+    <name>Apache Tuscany SCA Tours Introducing Trips Launcher</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-node-launcher</artifactId>
+            <version>${tuscany.version}</version>
+        </dependency>
+    </dependencies>
+    
+    <build>
+       <finalName>${artifactId}</finalName>
+       <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.2</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                            <classpathPrefix>../lib/</classpathPrefix>
+                            <mainClass>scatours.IntroducingTripsLauncher</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>  
+        </plugins>            
+    </build>
+</project>

Added: tuscany/sandbox/travelsample/launchers/introducing-trips/src/main/java/scatours/IntroducingTripsLauncher.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/introducing-trips/src/main/java/scatours/IntroducingTripsLauncher.java?rev=902059&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/introducing-trips/src/main/java/scatours/IntroducingTripsLauncher.java (added)
+++ tuscany/sandbox/travelsample/launchers/introducing-trips/src/main/java/scatours/IntroducingTripsLauncher.java Fri Jan 22 11:15:58 2010
@@ -0,0 +1,30 @@
+/*
+ * 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 scatours;
+
+import org.apache.tuscany.sca.node.launcher.NodeLauncher;
+
+public class IntroducingTripsLauncher {
+
+    public static void main(String[] args) throws Exception {
+        String[] dmArgs = {"http://localhost:9990/node-config/TripsNode"};
+    	NodeLauncher.main(dmArgs);
+    }
+}

Modified: tuscany/sandbox/travelsample/launchers/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/pom.xml?rev=902059&r1=902058&r2=902059&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/pom.xml (original)
+++ tuscany/sandbox/travelsample/launchers/pom.xml Fri Jan 22 11:15:58 2010
@@ -50,6 +50,8 @@
                 <module>introducing</module>
                 <module>introducing-client</module>
                 <module>introducing-domain</module>
+                <module>introducing-tours</module>
+                <module>introducing-trips</module>
                 <module>jumpstart</module>
                 <module>fullapp</module>
                 <module>fullapp-domain</module>

Modified: tuscany/sandbox/travelsample/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/pom.xml?rev=902059&r1=902058&r2=902059&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/pom.xml (original)
+++ tuscany/sandbox/travelsample/pom.xml Fri Jan 22 11:15:58 2010
@@ -93,6 +93,7 @@
             <modules>
                 <module>util</module>
                 <module>contributions</module>
+                <module>domainconfig</module>
                 <module>launchers</module>
                 <module>services</module>
                 <module>clients</module>