summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/applications/store
diff options
context:
space:
mode:
authorbdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68>2010-10-11 18:32:49 +0000
committerbdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68>2010-10-11 18:32:49 +0000
commitb8607bfac9532ed0180d937cfb82a3d8000dcea5 (patch)
tree2495cbacde475310100732e3c63eaec81f9e48c7 /sca-java-2.x/trunk/samples/applications/store
parent7482709318f2e40822046f470b32afe4beb935b1 (diff)
Update store sample build.xml for new distribution structure
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1021453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/applications/store')
-rw-r--r--sca-java-2.x/trunk/samples/applications/store/build.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/samples/applications/store/build.xml b/sca-java-2.x/trunk/samples/applications/store/build.xml
index bd36a0d398..97ee4bbb16 100644
--- a/sca-java-2.x/trunk/samples/applications/store/build.xml
+++ b/sca-java-2.x/trunk/samples/applications/store/build.xml
@@ -17,8 +17,11 @@
* under the License.
-->
<project name="store" default="compile">
+ <property name="tuscany.home" value="../../.."/>
<property name="test.class" value="launch.Launch" />
<property name="test.jar" value="sample-store.jar" />
+
+ <import file="${tuscany.home}/features/tuscany-base-runtime/build-path.xml"/>
<target name="init">
<mkdir dir="target/classes"/>
@@ -31,8 +34,9 @@
source="1.5"
target="1.5">
<classpath>
- <pathelement location="../../features/tuscany-sca-manifest.jar"/>
- <fileset refid="3rdparty.jars"/>
+ <fileset dir="${tuscany.home}/lib">
+ <include name="tuscany-base-*.jar"/>
+ </fileset>
</classpath>
</javac>
<copy todir="target/classes">
@@ -50,8 +54,9 @@
fork="true">
<classpath>
<pathelement path="target/classes"/>
- <pathelement location="../../features/tuscany-sca-manifest.jar"/>
- <fileset refid="3rdparty.jars"/>
+ <fileset dir="${tuscany.home}/features">
+ <include name="tuscany-sca-manifest.jar"/>
+ </fileset>
</classpath>
</java>
</target>
@@ -61,8 +66,9 @@
fork="true">
<classpath>
<pathelement path="target/${test.jar}"/>
- <pathelement location="../../features/tuscany-sca-manifest.jar"/>
- <fileset refid="3rdparty.jars"/>
+ <fileset dir="${tuscany.home}/features">
+ <include name="tuscany-sca-manifest.jar"/>
+ </fileset>
</classpath>
</java>
</target>
@@ -73,7 +79,4 @@
</delete>
</target>
- <fileset id="3rdparty.jars" dir="../../lib">
- <include name="saxon-8.7.jar"/>
- </fileset>
</project>