summaryrefslogtreecommitdiffstats
path: root/java/sca/itest
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-05 15:20:15 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-05 15:20:15 +0000
commitfb6953b8f1f96f1edd63f4a6afc7028beee0e416 (patch)
treecc7d50d825705ecee3a7dbe47c8c41038934b153 /java/sca/itest
parent111e0fa26b2847cca685b55d5098f32bb0c00e5b (diff)
Change the samples itest to use the samples from the distribution its testing instead of the svn src, and this has the additional benifit as the sample build scripts can be simplified to only reference jars frm the distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@741131 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest')
-rw-r--r--java/sca/itest/samples/build.xml19
1 files changed, 11 insertions, 8 deletions
diff --git a/java/sca/itest/samples/build.xml b/java/sca/itest/samples/build.xml
index 124a30636c..6f2f52f906 100644
--- a/java/sca/itest/samples/build.xml
+++ b/java/sca/itest/samples/build.xml
@@ -27,23 +27,26 @@
we may need to run two samples together to provide reference and
service sides of the sample.
-->
+
+ <property name="distro.root" value="../../distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT" />
+
<target name="run">
<property name="time.to.live" id="ttl" value="4000" />
- <ant antfile="../../samples/implementation-java-calculator/build.xml"
- dir="../../samples/implementation-java-calculator"/>
+ <ant antfile="build.xml"
+ dir="${distro.root}/samples/implementation-java-calculator"/>
- <ant antfile="../../samples/binding-ws-calculator/build.xml"
- dir="../../samples/binding-ws-calculator"/>
+ <ant antfile="build.xml"
+ dir="${distro.root}/samples/binding-ws-calculator"/>
<parallel>
- <ant antfile="../../samples/calculator-rmi-service/build.xml"
- dir="../../samples/calculator-rmi-service"/>
+ <ant antfile="build.xml"
+ dir="${distro.root}/samples/calculator-rmi-service"/>
<sequential>
<sleep seconds="2"/>
- <ant antfile="../../samples/calculator-rmi-reference/build.xml"
- dir="../../samples/calculator-rmi-reference"/>
+ <ant antfile="build.xml"
+ dir="${distro.root}/samples/calculator-rmi-reference"/>
</sequential>
</parallel>