diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 21:15:14 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 21:15:14 +0000 |
commit | febf11dfcb2d5f809143b02671dc863765232dae (patch) | |
tree | 1dbbc4e0b3077bd3cf5f176386297070540bc166 /sandbox | |
parent | e6074e8de333264f7bfc1baabebc3ae0e6176539 (diff) |
Apply new naming convention to launchers/currency-converter
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814858 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/launchers/currency-converter/build.xml | 48 | ||||
-rw-r--r-- | sandbox/travelsample/launchers/currency-converter/pom.xml (renamed from sandbox/travelsample/launchers/currency-converter-launcher/pom.xml) | 2 | ||||
-rw-r--r-- | sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java (renamed from sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java) | 6 | ||||
-rw-r--r-- | sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/currencyconverter/CurrencyConverter.java (renamed from sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/currencyconverter/CurrencyConverter.java) | 0 | ||||
-rw-r--r-- | sandbox/travelsample/launchers/pom.xml | 2 |
5 files changed, 53 insertions, 5 deletions
diff --git a/sandbox/travelsample/launchers/currency-converter/build.xml b/sandbox/travelsample/launchers/currency-converter/build.xml new file mode 100644 index 0000000000..7f1e5646d5 --- /dev/null +++ b/sandbox/travelsample/launchers/currency-converter/build.xml @@ -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>
diff --git a/sandbox/travelsample/launchers/currency-converter-launcher/pom.xml b/sandbox/travelsample/launchers/currency-converter/pom.xml index 4816749ffc..db3fcad9c8 100644 --- a/sandbox/travelsample/launchers/currency-converter-launcher/pom.xml +++ b/sandbox/travelsample/launchers/currency-converter/pom.xml @@ -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>
diff --git a/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java b/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java index 99a1e68795..46373f64e2 100644 --- a/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/LaunchCurrencyConverterNode.java +++ b/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/CurrencyConverterLauncher.java @@ -26,15 +26,15 @@ import org.apache.tuscany.sca.node.SCANodeFactory; 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");
diff --git a/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/currencyconverter/CurrencyConverter.java b/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/currencyconverter/CurrencyConverter.java index 6d0efc8c66..6d0efc8c66 100644 --- a/sandbox/travelsample/launchers/currency-converter-launcher/src/main/java/scatours/currencyconverter/CurrencyConverter.java +++ b/sandbox/travelsample/launchers/currency-converter/src/main/java/scatours/currencyconverter/CurrencyConverter.java diff --git a/sandbox/travelsample/launchers/pom.xml b/sandbox/travelsample/launchers/pom.xml index 1bfc87ce5f..fee61d8064 100644 --- a/sandbox/travelsample/launchers/pom.xml +++ b/sandbox/travelsample/launchers/pom.xml @@ -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> |