summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/clients/currency-converter-rmi/build.xml
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-04 11:19:03 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-04 11:19:03 +0000
commit0f35c9aefbfd12cdc8cd61e52aeddca9532564d9 (patch)
tree3fd054c18ff03250d8e1cfcf59541b73df54886e /sandbox/travelsample/clients/currency-converter-rmi/build.xml
parentc4ccb1597654672939b367689a3594305191e496 (diff)
Add/fix ant scripts for non-SCA clients and add additional targets described in the README scenarios
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/clients/currency-converter-rmi/build.xml')
-rw-r--r--sandbox/travelsample/clients/currency-converter-rmi/build.xml20
1 files changed, 6 insertions, 14 deletions
diff --git a/sandbox/travelsample/clients/currency-converter-rmi/build.xml b/sandbox/travelsample/clients/currency-converter-rmi/build.xml
index 0a7a607fda..2d9d3bc9d9 100644
--- a/sandbox/travelsample/clients/currency-converter-rmi/build.xml
+++ b/sandbox/travelsample/clients/currency-converter-rmi/build.xml
@@ -18,27 +18,19 @@
-->
<project name="scatours-client-currency-converter-rmi" default="compile">
- <property environment="env"/>
+ <import file="../../antdefs.xml"/>
- <target name="compile">
- <mkdir dir="target/classes"/>
- <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
- <src path="src/main/java"/>
- </javac>
+ <!-- Before invoking the "run" target, the RMI implementation of the
+ currency converter service needs to be started in its own process. -->
+ <target name="run-service">
+ <ant dir="../../launchers/currency-converter-rmi" target="run"/>
</target>
<target name="run">
<java classname="scatours.CurrencyConverterRMIClient" fork="true">
<classpath>
- <pathelement location="target/classes"/>
+ <pathelement location="target/${ant.project.name}.jar"/>
</classpath>
</java>
</target>
-
- <target name="clean">
- <delete includeemptydirs="true">
- <fileset dir="target"/>
- </delete>
- </target>
-
</project>