You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/08/17 23:46:18 UTC

svn commit: r432400 - /geronimo/trunk/bootstrap

Author: jdillon
Date: Thu Aug 17 14:46:17 2006
New Revision: 432400

URL: http://svn.apache.org/viewvc?rev=432400&view=rev
Log:
Added minimal step, still clean out our bits from the repo when not doing a full clean

Modified:
    geronimo/trunk/bootstrap

Modified: geronimo/trunk/bootstrap
URL: http://svn.apache.org/viewvc/geronimo/trunk/bootstrap?rev=432400&r1=432399&r2=432400&view=diff
==============================================================================
--- geronimo/trunk/bootstrap (original)
+++ geronimo/trunk/bootstrap Thu Aug 17 14:46:17 2006
@@ -39,9 +39,17 @@
     echo "Cleaning..."
     
     if [ "x$BOOTSTRAP_NOCLEAN_REPO" = "x" ]; then
+        echo "Deep cleaning ~/.m2/repository"
+        
         rm -rf ~/.m2/repository
     else
-        echo "Skipping repository cleaning"
+        echo "Shallow cleaning ~/.m2/repository/org/apache/geronimo"
+        
+        rm -rf ~/.m2/repository/org/apache/geronimo/modules
+        rm -rf ~/.m2/repository/org/apache/geronimo/configs
+        rm -rf ~/.m2/repository/org/apache/geronimo/applications
+        rm -rf ~/.m2/repository/org/apache/geronimo/assemblies
+        rm -rf ~/.m2/repository/org/apache/geronimo/plugins
     fi
     
     rm -rf "$DIRNAME/thirdparty"
@@ -96,6 +104,16 @@
             fi
         )
     )
+}
+
+minimal() {
+    BOOTSTRAP_NOCLEAN_REPO=true
+    
+    begin && (
+        clean
+        stage "bootstrap" && \
+        stage "assemble"
+    ) && complete $?
 }
 
 main() {