[jboss-cvs] JBossAS SVN: r89219 - trunk/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 20 18:41:03 EDT 2009


Author: pgier
Date: 2009-05-20 18:41:02 -0400 (Wed, 20 May 2009)
New Revision: 89219

Modified:
   trunk/build/build.xml
   trunk/build/pom.xml
Log:
Fix circular clean logic.

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2009-05-20 21:56:29 UTC (rev 89218)
+++ trunk/build/build.xml	2009-05-20 22:41:02 UTC (rev 89219)
@@ -479,12 +479,16 @@
 
   <!-- Clean up all build output -->
   <target name="clean" description="Cleans up most generated files."
-          depends="maven-clean">
+          depends="clean-dist, maven-clean">
+  </target>
+
+  <!-- Clean up all build output -->
+  <target name="clean-dist" description="Cleans up distribution build.">
     <delete includeEmptyDirs="true">
        <fileset dir="${dist.module.output}"/>
     </delete>
   </target>
-
+  
   <!-- Clean up all generated files -->
   <target name="clobber" depends="maven-clean"
       description="Cleans up all generated files.">

Modified: trunk/build/pom.xml
===================================================================
--- trunk/build/pom.xml	2009-05-20 21:56:29 UTC (rev 89218)
+++ trunk/build/pom.xml	2009-05-20 22:41:02 UTC (rev 89219)
@@ -123,7 +123,7 @@
                 <configuration>
                   <tasks>
                     <ant antfile="build.xml">
-                      <target name="clean"/>
+                      <target name="clean-dist"/>
                     </ant>
                  </tasks>
                 </configuration>




More information about the jboss-cvs-commits mailing list