You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/08/26 14:12:48 UTC

svn commit: r989630 - /tuscany/sca-java-2.x/contrib/samples/hema/build.xml

Author: antelder
Date: Thu Aug 26 12:12:48 2010
New Revision: 989630

URL: http://svn.apache.org/viewvc?rev=989630&view=rev
Log:
Correct jar usage

Modified:
    tuscany/sca-java-2.x/contrib/samples/hema/build.xml

Modified: tuscany/sca-java-2.x/contrib/samples/hema/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/contrib/samples/hema/build.xml?rev=989630&r1=989629&r2=989630&view=diff
==============================================================================
--- tuscany/sca-java-2.x/contrib/samples/hema/build.xml (original)
+++ tuscany/sca-java-2.x/contrib/samples/hema/build.xml Thu Aug 26 12:12:48 2010
@@ -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>