Skip to content
Permalink
Browse files
Added deploy task,updated readme file
  • Loading branch information
Sumedha Rubasinghe committed Sep 23, 2007
1 parent 91761e8 commit c8f815a5d308da54327a1730c1eb2d5e91223223
Showing 2 changed files with 20 additions and 4 deletions.
@@ -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>
@@ -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.

0 comments on commit c8f815a

Please sign in to comment.