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 9313169111f785feb74b0f77003a2b72732f6d3f
Author: Sumedha Rubasinghe <sume...@apache.org>
AuthorDate: Sat Oct 25 07:29:44 2008 +0000

    According to readme.txt <quote> run 'ant deploy' to build the sample and 
automatically copy......into your Axis2 installation </quote>. But if 'deploy' 
task is run before 'build.sample' ant build fails. Fixing it.
---
 modules/samples/eventing/build.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/samples/eventing/build.xml 
b/modules/samples/eventing/build.xml
index f54014c..bffc226 100644
--- a/modules/samples/eventing/build.xml
+++ b/modules/samples/eventing/build.xml
@@ -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"/>
@@ -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"/>

Reply via email to