axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r470332 - /webservices/axis2/branches/java/1_1/modules/samples/servicelifecycle/build.xml
Date Thu, 02 Nov 2006 11:22:30 GMT
Author: deepal
Date: Thu Nov  2 03:22:28 2006
New Revision: 470332

URL: http://svn.apache.org/viewvc?view=rev&rev=470332
Log:
just adding a missing goal (generate.service)
 - wont affect that much for the release , since default gaol does the same thing 

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/servicelifecycle/build.xml

Modified: webservices/axis2/branches/java/1_1/modules/samples/servicelifecycle/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/servicelifecycle/build.xml?view=diff&rev=470332&r1=470331&r2=470332
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/servicelifecycle/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/servicelifecycle/build.xml Thu Nov
 2 03:22:28 2006
@@ -3,6 +3,9 @@
     <property environment="env"/>
     <property name="service-name" value="Library.aar"/>
     <property name="dest.dir" value="target"/>
+    <property name="axis2.home" value="../../" />
+
+	<property name="repository.path" value="${axis2.home}/repository/services" />
 
     <property name="dest.dir.classes" value="${dest.dir}/classes"/>
 
@@ -49,6 +52,28 @@
              destfile="${dest.dir}/${service-name}"/>
 
     </target>
+
+     <target name="generate.service" depends="prepare">
+
+        <mkdir dir="${dest.dir}"/>
+
+        <mkdir dir="${dest.dir.classes}"/>
+        <mkdir dir="${dest.dir.classes}/META-INF"/>
+
+        <copy file="src/META-INF/services.xml"
+              tofile="${dest.dir.classes}/META-INF/services.xml"
+              overwrite="true"/>
+
+        <javac debug="on" srcdir="src" destdir="${dest.dir.classes}" includes="sample/**">
+            <classpath refid="build.class.path"/>
+        </javac>
+
+        <jar basedir="${dest.dir.classes}"
+             destfile="${repository.path}/${service-name}"/>
+
+    </target>
+
+
 
     <target name="run.client" depends="prepare">
         <mkdir dir="${dest.dir}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message