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 2009/09/14 23:15:14 UTC

svn commit: r814858 - in /tuscany/sandbox/travelsample/launchers: ./ currency-converter-launcher/ currency-converter/ currency-converter/src/main/java/scatours/

Author: nash
Date: Mon Sep 14 21:15:14 2009
New Revision: 814858

URL: http://svn.apache.org/viewvc?rev=814858&view=rev
Log:
Apply new naming convention to launchers/currency-converter

Added:
    tuscany/sandbox/travelsample/launchers/currency-converter/
      - copied from r814729, tuscany/sandbox/travelsample/launchers/currency-converter-launcher/
    tuscany/sandbox/travelsample/launchers/currency-converter/build.xml
    tuscany/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java
      - copied, changed from r814729, tuscany/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java
Removed:
    tuscany/sandbox/travelsample/launchers/currency-converter-launcher/
    tuscany/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/LaunchCurrencyConverterNode.java
Modified:
    tuscany/sandbox/travelsample/launchers/currency-converter/pom.xml
    tuscany/sandbox/travelsample/launchers/pom.xml

Added: tuscany/sandbox/travelsample/launchers/currency-converter/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter/build.xml?rev=814858&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter/build.xml (added)
+++ tuscany/sandbox/travelsample/launchers/currency-converter/build.xml Mon Sep 14 21:15:14 2009
@@ -0,0 +1,48 @@
+<!--
+ * 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 name="scatours-launcher-currency-converter" default="compile">
+    <property environment="env"/> 
+
+    <target name="compile">
+        <mkdir dir="target/classes"/>
+        <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+            <src path="src/main/java"/>
+            <classpath>
+                <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+            </classpath>
+        </javac>
+    </target>
+
+    <target name="run">
+        <java classname="scatours.CurrencyConverterLauncher" fork="true">
+            <classpath>
+                <pathelement location="target/classes"/>
+                <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+            </classpath>
+        </java>
+    </target>
+
+    <target name="clean">
+        <delete includeemptydirs="true">
+            <fileset dir="target"/>
+        </delete>
+    </target>
+
+</project>

Modified: tuscany/sandbox/travelsample/launchers/currency-converter/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter/pom.xml?rev=814858&r1=814729&r2=814858&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter/pom.xml (original)
+++ tuscany/sandbox/travelsample/launchers/currency-converter/pom.xml Mon Sep 14 21:15:14 2009
@@ -25,7 +25,7 @@
         <version>1.5</version>
         <!--relativePath>../../pom.xml</relativePath-->
     </parent><version>1.0-SNAPSHOT</version>
-    <artifactId>scatours-currency-converter-launcher</artifactId>
+    <artifactId>scatours-launcher-currency-converter</artifactId>
     <name>Apache Tuscany SCA Tours Currency Converter Launcher</name>
 
     <dependencies>

Copied: tuscany/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java (from r814729, tuscany/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java)
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java?p2=tuscany/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java&p1=tuscany/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java&r1=814729&r2=814858&rev=814858&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java (original)
+++ tuscany/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java Mon Sep 14 21:15:14 2009
@@ -26,15 +26,15 @@
 
 import scatours.currencyconverter.CurrencyConverter;
 
-public class LaunchCurrencyConverterNode {
+public class CurrencyConverterLauncher {
 
     public static void main(String[] args) throws Exception {
         SCAContribution currencyContribution = 
           new SCAContribution("currency", 
-              "../../contributions/currency-contribution/target/classes");
+              "../../contributions/currency/target/classes");
         
         SCANode node = SCANodeFactory.newInstance().createSCANode(
-            "currency-converter.composite",currencyContribution);
+            "currencyconverter.composite",currencyContribution);
         node.start();
 
         System.out.println("Quick currency converter test");

Modified: tuscany/sandbox/travelsample/launchers/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/pom.xml?rev=814858&r1=814857&r2=814858&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/pom.xml (original)
+++ tuscany/sandbox/travelsample/launchers/pom.xml Mon Sep 14 21:15:14 2009
@@ -38,7 +38,7 @@
             </activation>
             <modules>
                 <module>blog-feed-launcher</module>
-                <module>currency-converter-launcher</module>
+                <module>currency-converter</module>
                 <module>currency-converter-corba-launcher</module>
                 <module>currency-converter-jms-launcher</module>
                 <module>currency-converter-rmi-launcher</module>