diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-26 12:12:48 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-26 12:12:48 +0000 |
commit | 66f2b9211470fafc206b486f51a009d093c08cb7 (patch) | |
tree | 164c76914e09d3c2e3b4fbf97ac4b8c4a6969689 /sca-java-2.x/contrib/samples/hema | |
parent | b7b98aedc3d30214acd657fc0d574255426df4ab (diff) |
Correct jar usage
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@989630 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/contrib/samples/hema')
-rw-r--r-- | sca-java-2.x/contrib/samples/hema/build.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sca-java-2.x/contrib/samples/hema/build.xml b/sca-java-2.x/contrib/samples/hema/build.xml index dee5e813a7..9bc82b0791 100644 --- a/sca-java-2.x/contrib/samples/hema/build.xml +++ b/sca-java-2.x/contrib/samples/hema/build.xml @@ -18,11 +18,12 @@ -->
<project name="sample-hema" default="compile">
- <property name="tuscany.base.jar" value="../../dependency/tuscany-base-nodep-2.0-SNAPSHOT.jar"/>
+ <property name="tuscany.jars.location" value="../../dependency/"/>
+ <property name="tuscany.base" value="tuscany-base-nodep-2.0-SNAPSHOT.jar"/>
<path id="project.classpath">
<pathelement path="target/classes"/>
- <pathelement location="${tuscany.base.jar}"/>
+ <pathelement location="${tuscany.jars.location}${tuscany.base}"/>
</path>
<target name="init">
@@ -46,7 +47,9 @@ <war destfile="target/sample-hema.war"
webxml="src/main/webapp/WEB-INF/web.xml">
<fileset dir="src/main/webapp"/>
- <fileset file="${tuscany.base.jar}"/>
+ <zipfileset dir="${tuscany.jars.location}" prefix="WEB-INF/lib">
+ <include name="${tuscany.base}"/>
+ </zipfileset>
<classes dir="target/classes"/>
</war>
</target>
|