axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r188735 - /webservices/axis/trunk/java/modules/samples/maven.xml
Date Tue, 07 Jun 2005 08:56:22 GMT
Author: hemapani
Date: Tue Jun  7 01:56:20 2005
New Revision: 188735

URL: http://svn.apache.org/viewcvs?rev=188735&view=rev
Log:
add the version jar to the war

Modified:
    webservices/axis/trunk/java/modules/samples/maven.xml

Modified: webservices/axis/trunk/java/modules/samples/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/maven.xml?rev=188735&r1=188734&r2=188735&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/maven.xml (original)
+++ webservices/axis/trunk/java/modules/samples/maven.xml Tue Jun  7 01:56:20 2005
@@ -16,8 +16,6 @@
         <copy file="../addressing/target/addressing.mar" 
 		tofile="target/test-resources/repository-client/modules/addressing.mar"/>
         <mkdir dir="target/toWar/services/"/>
-        <copy file="../core/target/echo/echo.aar"
-		tofile="target/toWar/services/version.aar"/>
     </postGoal>
 
     <postGoal name="test:test">
@@ -30,9 +28,30 @@
         <attainGoal name="userguide"/>
         <attainGoal name="amazonQS"/>
         <attainGoal name="googleSearch"/>
-        <attainGoal name="googleSpellcheck"/>
+        <attainGoal name="googleSpellcheck"/>
+        <attainGoal name="version"/>
     </goal>
 
+  <!-- ================================================================ -->
+   <!--- Version Sample -->
+  <!-- ================================================================ -->
+  <goal name="version">
+	<mkdir dir="target/samples"/>
+        <mkdir dir="${samples.dir}/version"/>
+        <mkdir dir="${samples.dir}/version/src"/>
+        <ant:copy todir="${samples.dir}/version/src">
+        	<ant:fileset dir="src">
+        		<ant:include name="sample/axisversion/**"/>
+        	</ant:fileset> 
+	</ant:copy> 
+        <jar destfile="${samples.dir}/version/version.jar">
+            <fileset dir="target/classes">
+                <include name="sample/axisversion/**"/>
+            </fileset>           
+        </jar>
+        <copy file="${samples.dir}/version/version.jar"
+		tofile="target/toWar/services/version.aar"/>
+    </goal>
   <!-- ================================================================ -->
    <!--- User Guide Sample -->
   <!-- ================================================================ -->



Mime
View raw message