tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r989630 - /tuscany/sca-java-2.x/contrib/samples/hema/build.xml
Date Thu, 26 Aug 2010 12:12:48 GMT
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>	



Mime
View raw message