Skip to content

Commit

Permalink
According to readme.txt <quote> run 'ant deploy' to build the sample …
Browse files Browse the repository at this point in the history
…and automatically copy......into your Axis2 installation </quote>. But if 'deploy' task is run before 'build.sample' ant build fails. Fixing it.

git-svn-id: https://svn.apache.org/repos/asf/webservices/savan/trunk/java@707822 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Sumedha Rubasinahe committed Oct 25, 2008
1 parent 06f6310 commit 9d090a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/samples/eventing/build.xml
Expand Up @@ -9,7 +9,7 @@
</fail>
<echo message="${env.AXIS2_HOME}"/>

<target name="build.sample">
<target name="build.sample" depends="clean">
<property name="eventing.temp.dir" value="build/temp"/>
<property name="listener1.temp.dir" value="${eventing.temp.dir}/listener1"/>
<property name="listener2.temp.dir" value="${eventing.temp.dir}/listener2"/>
Expand Down Expand Up @@ -95,7 +95,7 @@
<delete dir="build"/>
</target>

<target name="deploy">
<target name="deploy" depends="build.sample">
<!-- deploy savan module to axis2 -->
<copy todir="${env.AXIS2_HOME}/repository/modules">
<fileset dir="../../mar/target" includes="savan-*.mar"/>
Expand Down

0 comments on commit 9d090a4

Please sign in to comment.