Author: scamp
Date: Fri May 20 07:39:49 2005
New Revision: 171122

URL: http://svn.apache.org/viewcvs?rev=171122&view=rev
Log:
added clean to dist and added a deletion of (clean) webapp to the webapp...

Modified:
    incubator/hermes/trunk/maven.xml

Modified: incubator/hermes/trunk/maven.xml
URL: 
http://svn.apache.org/viewcvs/incubator/hermes/trunk/maven.xml?rev=171122&r1=171121&r2=171122&view=diff
==============================================================================
--- incubator/hermes/trunk/maven.xml (original)
+++ incubator/hermes/trunk/maven.xml Fri May 20 07:39:49 2005
@@ -79,6 +79,24 @@
     </copy>
     
   </goal>
+
+  <!-- ================================================================== -->
+  <!-- W A R : W E B A P P                                                -->
+  <!-- P R E - G O A L                                                  -->
+  <!-- ================================================================== -->
+  <preGoal name="war:webapp">
+   <!-- Delete the webapp dir if exists -->
+   <delete dir="${maven.war.webapp.dir}" />
+  </preGoal>
+
+  <!-- ================================================================== -->
+  <!-- D I S T : B U I L D - S E T U P                         -->
+  <!-- P R E - G O A L                                                   -->
+  <!-- ================================================================== -->
+  <preGoal name="dist:build-setup">
+    <!-- delete the target dir before a dist -->
+   <attainGoal name="clean:clean"/>
+  </preGoal>  
   
   <!-- ================================================================== -->
   <!-- W A R : W E B A P P                                                -->



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to