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/07 04:38:23 UTC
svn commit: r896749 - in /tuscany/sandbox/travelsample: README
launchers/currency-converter-corba/build.xml
launchers/currency-converter-jms/build.xml
launchers/currency-converter-rmi/build.xml
launchers/currency-converter-ws/build.xml
Author: nash
Date: Thu Jan 7 03:37:52 2010
New Revision: 896749
URL: http://svn.apache.org/viewvc?rev=896749&view=rev
Log:
Add launcher targets so that all scenarios can be run from a launcher directory
Modified:
tuscany/sandbox/travelsample/README
tuscany/sandbox/travelsample/launchers/currency-converter-corba/build.xml
tuscany/sandbox/travelsample/launchers/currency-converter-jms/build.xml
tuscany/sandbox/travelsample/launchers/currency-converter-rmi/build.xml
tuscany/sandbox/travelsample/launchers/currency-converter-ws/build.xml
Modified: tuscany/sandbox/travelsample/README
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/README?rev=896749&r1=896748&r2=896749&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/README (original)
+++ tuscany/sandbox/travelsample/README Thu Jan 7 03:37:52 2010
@@ -141,31 +141,35 @@
12b) CORBA client
-Directory: clients/currency-converter-corba
-Command: ant run-service, ant run
+Directory: launchers/currency-converter-corba
+Commands: ant run, ant run-client
Contributions: currency, currency-corba
-Launchers: common, currency-converter-corba
+Launchers: common
+Clients: currency-converter-corba
12c) JMS client
-Directory: clients/currency-converter-jms
-Commands: ant run-broker, ant run-service, ant run
+Directory: launchers/currency-converter-jms
+Commands: ant run-broker, ant run, ant run-client
Contributions: currency, currency-jms
-Launchers: common, currency-converter-jms
+Launchers: common
+Clients: currency-converter-jms
12d) RMI client
-Directory: clients/currency-converter-rmi
-Command: ant run-service, ant run
+Directory: launchers/currency-converter-rmi
+Commands: ant run, ant run-client
Contributions: currency, currency-rmi
-Launchers: common, currency-converter-rmi
+Launchers: common
+Clients: currency-converter-rmi
12e) JAX-WS client
-Directory: clients/currency-converter-ws-jaxws
-Command: ant run-service, ant run
+Directory: launchers/currency-converter-ws
+Commands: ant run, ant run-client
Contributions: currency, currency-ws
-Launchers: common, currency-converter-ws
+Launchers: common
+Clients: currency-converter-ws-jaxws
13) SCA notification service interoperating with non-SCA SMS gateway service
Modified: tuscany/sandbox/travelsample/launchers/currency-converter-corba/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter-corba/build.xml?rev=896749&r1=896748&r2=896749&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter-corba/build.xml (original)
+++ tuscany/sandbox/travelsample/launchers/currency-converter-corba/build.xml Thu Jan 7 03:37:52 2010
@@ -23,6 +23,13 @@
<pathelement path="../common/target/scatours-launcher-common.jar"/>
</path>
+ <!-- After starting the SCA CORBA service by invoking the "run" target below,
+ the CORBA Java implementation of the currency converter client should be
+ run in another process using the "run-client" target. -->
+ <target name="run-client">
+ <ant dir="../../clients/currency-converter-corba" target="run"/>
+ </target>
+
<!-- When running this sample, the tuscany-host-corba-jse and
tuscany-host-corba-jse-tns jars need to be present on the classpath.
These aren't included in tuscany-sca-manifest so they need to be
Modified: tuscany/sandbox/travelsample/launchers/currency-converter-jms/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter-jms/build.xml?rev=896749&r1=896748&r2=896749&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter-jms/build.xml (original)
+++ tuscany/sandbox/travelsample/launchers/currency-converter-jms/build.xml Thu Jan 7 03:37:52 2010
@@ -29,17 +29,24 @@
<java classname="scatours.JMSBrokerLauncher" fork="true">
<classpath>
<pathelement location="target/${ant.project.name}.jar"/>
- <path refid="compile-path"/>
<!-- The following is used to bring in the ActiveMQ runtime. -->
<pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>
</classpath>
</java>
</target>
+ <!-- After starting the SCA JMS service by invoking the "run" target below,
+ the ActiveMQ JMS implementation of the currency converter client should be
+ run in another process using the "run-client" target. -->
+ <target name="run-client">
+ <ant dir="../../clients/currency-converter-jms" target="run"/>
+ </target>
+
<target name="run">
<java classname="scatours.CurrencyConverterJMSLauncher" fork="true">
<classpath>
<pathelement location="target/${ant.project.name}.jar"/>
+ <path refid="compile-path"/>
<pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>
</classpath>
</java>
Modified: tuscany/sandbox/travelsample/launchers/currency-converter-rmi/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter-rmi/build.xml?rev=896749&r1=896748&r2=896749&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter-rmi/build.xml (original)
+++ tuscany/sandbox/travelsample/launchers/currency-converter-rmi/build.xml Thu Jan 7 03:37:52 2010
@@ -23,6 +23,13 @@
<pathelement path="../common/target/scatours-launcher-common.jar"/>
</path>
+ <!-- After starting the SCA RMI service by invoking the "run" target below,
+ the RMI Java implementation of the currency converter client should be
+ run in another process using the "run-client" target. -->
+ <target name="run-client">
+ <ant dir="../../clients/currency-converter-rmi" target="run"/>
+ </target>
+
<target name="run">
<java classname="scatours.CurrencyConverterRMILauncher" fork="true">
<classpath>
Modified: tuscany/sandbox/travelsample/launchers/currency-converter-ws/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/currency-converter-ws/build.xml?rev=896749&r1=896748&r2=896749&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/currency-converter-ws/build.xml (original)
+++ tuscany/sandbox/travelsample/launchers/currency-converter-ws/build.xml Thu Jan 7 03:37:52 2010
@@ -23,6 +23,13 @@
<pathelement path="../common/target/scatours-launcher-common.jar"/>
</path>
+ <!-- After starting the SCA Web service by invoking the "run" target below,
+ the JAX-WS implementation of the currency converter client should be
+ run in another process using the "run-client" target. -->
+ <target name="run-client">
+ <ant dir="../../clients/currency-converter-ws-jaxws" target="run"/>
+ </target>
+
<target name="run">
<java classname="scatours.CurrencyConverterWSLauncher" fork="true">
<classpath>