geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r432400 - /geronimo/trunk/bootstrap
Date Thu, 17 Aug 2006 21:46:18 GMT
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() {



Mime
View raw message