You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ch...@apache.org on 2005/10/07 11:36:44 UTC

svn commit: r307062 - /webservices/sandesha/trunk/maven.xml

Author: chamikara
Date: Fri Oct  7 02:34:58 2005
New Revision: 307062

URL: http://svn.apache.org/viewcvs?rev=307062&view=rev
Log:
modified maven.xml

Modified:
    webservices/sandesha/trunk/maven.xml

Modified: webservices/sandesha/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/maven.xml?rev=307062&r1=307061&r2=307062&view=diff
==============================================================================
--- webservices/sandesha/trunk/maven.xml (original)
+++ webservices/sandesha/trunk/maven.xml Fri Oct  7 02:34:58 2005
@@ -5,14 +5,33 @@
     <j:set var="dist.dir" value="target/dist"/>
 
     <goal name="module.jar" prereqs="java:compile">
-        <ant:property name="module.jar.name" value="sandesha.jar"/>
-        <ant:property name="metainf.path" value="${maven.build.dir}/classes/META-INF" />
+        <ant:property name="module.jar.name" value="sandesha.mar"/>
+        <ant:property name="metainf.path" value="${maven.build.dir}/dist/module/META-INF" />
         <ant:mkdir dir="${maven.build.dir}/dist" />
+        <ant:mkdir dir="${maven.build.dir}/dist/module" />
         <ant:mkdir dir="${metainf.path}" />
         <ant:copy file="${basedir}/config/module.xml" todir="${metainf.path}" />
-        <ant:jar jarfile="${maven.build.dir}/dist/${module.jar.name}" basedir="${maven.build.dir}/classes" /> 
+
+		<!-- For the client side -->
+		<ant:mkdir dir="${metainf.path}" />
+        <copy todir="${maven.build.dir}/dist/module">
+            <fileset dir="${basedir}/target/classes" >
+            	<include name="**/*.class"/>
+            </fileset>
+        </copy>
+  
+        <ant:jar jarfile="${maven.build.dir}/dist/${module.jar.name}" basedir="${maven.build.dir}/dist/module" /> 
     </goal>
 
+	<goal name="client" prereqs="module.jar">
+		<ant:property name="module.jar.name" value="sandesha.mar"/>
+		<ant:property name="client.dist.path" value="${maven.build.dir}/dist/client"/>
+		<ant:mkdir dir="${client.dist.path}" />
+		<ant:mkdir dir="${client.dist.path}/modules" />
+		<ant:copy file="${basedir}/config/axis2.xml" todir="${client.dist.path}" />
+		<ant:copy file="${maven.build.dir}/dist/${module.jar.name}" todir="${client.dist.path}/modules" />       
+	</goal>
+	
     <goal name="sample:compile">
         <ant:property name="dir.samples" value="samples"/>
         <ant:mkdir dir="${basedir}/target/samples/classes" />
@@ -33,7 +52,8 @@
     <goal name="jar.copy" prereqs="module.jar,interop.jar">
         <property environment="env1"/>
         <property name="webapps" value="${env1.CATALINA_HOME}/webapps"/>
-        <ant:copy file="${basedir}/target/dist/sandesha.jar" todir="${webapps}/axis2/WEB-INF/modules"/>
+        <ant:copy file="${basedir}/target/dist/sandesha.mar" todir="${webapps}/axis2/WEB-INF/modules"/>
+        <!-- <ant:copy file="${basedir}/target/dist/sandesha.mar" todir="${basedir}/target/classes/modules"/> -->  <!-- For the client side -->
         <ant:copy file="${basedir}/target/dist/InteropService.jar" todir="${webapps}/axis2/WEB-INF/services"/>
     </goal>
 



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