summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/currency-converter-jms
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-07 03:37:52 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-07 03:37:52 +0000
commitfd3af62c55965d85dcad55afb021071cfe2ff456 (patch)
tree7e9e6458b6eee4f6f01185a2c149acbcf9bbbeb4 /sandbox/travelsample/launchers/currency-converter-jms
parent17f1dde1f0a723cc5b57464e70d673218c7c8210 (diff)
Add launcher targets so that all scenarios can be run from a launcher directory
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896749 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/launchers/currency-converter-jms')
-rw-r--r--sandbox/travelsample/launchers/currency-converter-jms/build.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/sandbox/travelsample/launchers/currency-converter-jms/build.xml b/sandbox/travelsample/launchers/currency-converter-jms/build.xml
index ab972ea3fe..f67a8fd907 100644
--- a/sandbox/travelsample/launchers/currency-converter-jms/build.xml
+++ b/sandbox/travelsample/launchers/currency-converter-jms/build.xml
@@ -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>