You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by bi...@apache.org on 2020/04/16 07:38:57 UTC

[axis-axis2-java-savan] 25/36: Added deploy task, updated readme file

This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-savan.git

commit c8f815a5d308da54327a1730c1eb2d5e91223223
Author: Sumedha Rubasinghe <su...@apache.org>
AuthorDate: Sun Sep 23 02:53:24 2007 +0000

    Added deploy task,updated readme file
---
 modules/samples/eventing/build.xml  | 13 +++++++++++++
 modules/samples/eventing/readme.txt | 11 +++++++----
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/modules/samples/eventing/build.xml b/modules/samples/eventing/build.xml
index fde43ed..686570f 100644
--- a/modules/samples/eventing/build.xml
+++ b/modules/samples/eventing/build.xml
@@ -1,4 +1,5 @@
 <project default="build.sample">
+	<property name="axis2.home" value="/mnt/win_d/projects/axis/Axis2-1.3/axis2-1.3" />
 	
 	<target name="build.sample">
 		<property name="axis2.home" value="/mnt/win_d/projects/axis/Axis2-1.3/axis2-1.3" />
@@ -87,4 +88,16 @@
 		<delete dir="build"/>
 	</target>
 
+	<target name="deploy">
+		<!-- deploy savan module to axis2 -->
+		<copy todir="${axis2.home}/repository/modules">
+			<fileset dir="../../mar/target" includes="savan-*.mar"/>
+		</copy>
+		
+		<!-- deploy samples -->		
+		<copy todir="${axis2.home}/repository/services">
+			<fileset dir="build" includes="*.aar"/>
+		</copy>
+	</target>
+	
 </project>
\ No newline at end of file
diff --git a/modules/samples/eventing/readme.txt b/modules/samples/eventing/readme.txt
index fd023ba..5b6f8f5 100644
--- a/modules/samples/eventing/readme.txt
+++ b/modules/samples/eventing/readme.txt
@@ -11,10 +11,13 @@ To clean
 --------
 1. Run 'ant clean'
 
+To deploy
+---------
+1. Run 'ant deploy' 
+(This will copy sample services to ${axis2.home}/repository/services & savan module into ${axis2.home}/repository/modules)
 
 To run
 ------
-1. Start a Axis2 server.
-2. Deploy savan and addressing modules.
-3. Deploy the three services that were created in the 'build' folder.
-4. Run the 'samples.eventing.Client' class, you can pass the repository with a '-r' parameter and the server port with a '-p' parameter.
+1. Make sure addressing module is inside ${axis2.home}/repository/modules
+2. Start Axis2 server.
+3. Run the 'samples.eventing.Client' class, you can pass the repository with a '-r' parameter and the server port with a '-p' parameter.