You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2005/08/04 09:34:03 UTC

svn commit: r227317 - /maven/continuum/trunk/ci_continuum.sh

Author: evenisse
Date: Thu Aug  4 00:33:42 2005
New Revision: 227317

URL: http://svn.apache.org/viewcvs?rev=227317&view=rev
Log:
Remove the m2 build, use the latest m2 build by m2 ci script

Modified:
    maven/continuum/trunk/ci_continuum.sh

Modified: maven/continuum/trunk/ci_continuum.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/ci_continuum.sh?rev=227317&r1=227316&r2=227317&view=diff
==============================================================================
--- maven/continuum/trunk/ci_continuum.sh (original)
+++ maven/continuum/trunk/ci_continuum.sh Thu Aug  4 00:33:42 2005
@@ -39,7 +39,7 @@
 DIST=m2-${TIMESTAMP}.tar.gz
 SVN=svn
 
-M2_HOME=$HOME_DIR/m2
+M2_HOME=/export/home/maven/m2
 export M2_HOME
 PATH=$PATH:$JAVA_HOME/bin:$M2_HOME/bin
 export PATH
@@ -58,7 +58,7 @@
 
 # ----------------------------------------------------------------------------------
 
-if [ ! -d $DIR/maven-components ]; then
+if [ ! -d $DIR/continuum ]; then
   CMD="checkout"
 fi
 
@@ -77,18 +77,6 @@
     cp -R $SUNREPO/* $REPO/
 
     echo
-    echo "Performing a clean check out of maven2 ..."
-    echo
-
-    (
-      cd $DIR
-
-      $SVN co http://svn.apache.org/repos/asf/maven/components/trunk maven-components > $HOME_DIR/$SCM_LOG 2>&1
-
-      build_m1=1
-    )
-
-    echo
     echo "Performing a clean check out of continuum ..."
     echo
 
@@ -103,26 +91,6 @@
   else
 
     echo
-    echo "Performing an update of maven-components ..."
-    echo
-
-    (
-      cd $DIR/maven-components
-      
-      $SVN update > $HOME_DIR/$SCM_LOG 2>&1
-      
-      grep "^[PUAD] " $HOME_DIR/$SCM_LOG > /dev/null 2>&1
-
-      if [ "$?" = "1" ]
-      then
-        build_m2=0
-      else
-        build_m1=1
-      fi
-
-    )
-
-    echo
     echo "Performing an update of continuum ..."
     echo
 
@@ -144,19 +112,11 @@
 
   fi
 
-  if [ build_m2 != 0 -o build_continuum != 0 ]
+  if [ build_continuum != 0 ]
   then
       
     echo "Updates occured, build required ..."
     echo
-
-    (
-      cd $DIR/maven-components
-  
-      sh m2-bootstrap-all.sh -Dmaven.repo.local="$REPO" -Dmaven.home="$M2_HOME" --update-snapshots
-      ret=$?; if [ $ret != 0 ]; then exit $ret; fi
-    )    
-    ret=$?; if [ $ret != 0 ]; then exit $ret; fi
 
     (
       cd $DIR/continuum