summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/binding-ws-calculator
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-18 11:28:58 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-18 11:28:58 +0000
commite92195e1612b391bc052b543321721f75003b483 (patch)
tree1ee09b2812f3362067469eb765bb9a20c697cff7 /java/sca/samples/binding-ws-calculator
parentbd2b967d90283b322710e7c7ed618d3d2ed93af2 (diff)
Change sample Ant build to not hardcode teh version
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@755557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/binding-ws-calculator')
-rw-r--r--java/sca/samples/binding-ws-calculator/build.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/java/sca/samples/binding-ws-calculator/build.xml b/java/sca/samples/binding-ws-calculator/build.xml
index 02125b9f3d..e13ec494b0 100644
--- a/java/sca/samples/binding-ws-calculator/build.xml
+++ b/java/sca/samples/binding-ws-calculator/build.xml
@@ -35,10 +35,12 @@
source="1.5"
target="1.5"
failonerror="true">
- <classpath>
- <pathelement location="../../modules/tuscany-sca-api-2.0-SNAPSHOT.jar"/>
- <pathelement location="../../modules/tuscany-node-api-2.0-SNAPSHOT.jar"/>
- </classpath>
+ <classpath>
+ <fileset dir="../../modules">
+ <include name="tuscany-sca-api-*.jar" />
+ <include name="tuscany-node-api-*.jar" />
+ </fileset>
+ </classpath>
</javac>
<copy todir="target/classes">
<fileset dir="src/main/resources"/>