summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/calculator
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/sca/samples/calculator-rmi-reference/build.xml10
-rw-r--r--java/sca/samples/calculator-rmi-service/build.xml10
-rw-r--r--java/sca/samples/calculator/build.xml10
3 files changed, 18 insertions, 12 deletions
diff --git a/java/sca/samples/calculator-rmi-reference/build.xml b/java/sca/samples/calculator-rmi-reference/build.xml
index e36a9d0047..16d94c3b0b 100644
--- a/java/sca/samples/calculator-rmi-reference/build.xml
+++ b/java/sca/samples/calculator-rmi-reference/build.xml
@@ -36,10 +36,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"/>
diff --git a/java/sca/samples/calculator-rmi-service/build.xml b/java/sca/samples/calculator-rmi-service/build.xml
index 655d69397f..a0889ccc8a 100644
--- a/java/sca/samples/calculator-rmi-service/build.xml
+++ b/java/sca/samples/calculator-rmi-service/build.xml
@@ -36,10 +36,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"/>
diff --git a/java/sca/samples/calculator/build.xml b/java/sca/samples/calculator/build.xml
index 8f6f9c3568..4411cae659 100644
--- a/java/sca/samples/calculator/build.xml
+++ b/java/sca/samples/calculator/build.xml
@@ -24,10 +24,12 @@
<target name="compile" depends="init">
<javac srcdir="src/main/java" destdir="target/classes" debug="on" source="1.5" target="1.5">
- <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"/>