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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 15 17:17:20 EST 2008


Author: pgier
Date: 2008-12-15 17:17:20 -0500 (Mon, 15 Dec 2008)
New Revision: 82289

Modified:
   trunk/build/build.xml
Log:
Clean should only call createthirdparty when needed.

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2008-12-15 22:02:17 UTC (rev 82288)
+++ trunk/build/build.xml	2008-12-15 22:17:20 UTC (rev 82289)
@@ -981,8 +981,9 @@
   <!-- ================================================================== -->
 
   <!-- Clean up all build output -->
-  <target name="clean" depends="createthirdparty, maven-clean, _buildmagic:clean, modules-clean"
-	  description="Cleans up most generated files.">
+  <target name="clean" description="Cleans up most generated files."
+          depends="checkthirdparty, createthirdparty, maven-clean, _buildmagic:clean, 
+                   modules-clean">
   </target>
 
   <!-- Clean up all generated files -->
@@ -1042,6 +1043,11 @@
     <echo message="Maven Home set to ${maven.home}"/>
   </target>
   
+  <target name="checkthirdparty">
+    <available property="inhibit.downloads"
+               file="${basedir}/../thirdparty/libraries.ent"/>
+  </target>
+  
    <!-- Call maven to create the thirdparty folder from artifacts in the maven repository -->
    <target name="createthirdparty" unless="inhibit.downloads"
       depends="init, check.inhibit.downloads, set.proxy">




More information about the jboss-cvs-commits mailing list