maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven-components/maven-core m2-bootstrap-all-new.sh m2-bootstrap-all.bat m2-bootstrap-all.sh m2-bootstrap.sh m2-core-plexus.txt m2-core-plugins.txt
Date Tue, 27 Jul 2004 17:37:08 GMT
evenisse    2004/07/27 10:37:07

  Modified:    .        ci.sh
  Added:       .        m2-bootstrap-all.bat m2-bootstrap-all.sh
  Removed:     .        mboot.jar
               maven-core m2-bootstrap-all-new.sh m2-bootstrap-all.bat
                        m2-bootstrap-all.sh m2-bootstrap.sh
                        m2-core-plexus.txt m2-core-plugins.txt
  Log:
  The bootstrap script is now visible from root directory.
  
  Revision  Changes    Path
  1.28      +1 -1      maven-components/ci.sh
  
  Index: ci.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/ci.sh,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- ci.sh	27 Jul 2004 13:23:35 -0000	1.27
  +++ ci.sh	27 Jul 2004 17:37:07 -0000	1.28
  @@ -115,7 +115,7 @@
       echo
   
       (
  -      cd $DIR/maven-components/maven-core
  +      cd $DIR/maven-components
     
         ./m2-bootstrap-all.sh
       )    
  
  
  
  1.1                  maven-components/m2-bootstrap-all.bat
  
  Index: m2-bootstrap-all.bat
  ===================================================================
  @echo off
  
  cd maven-mboot2
  
  call .\build
  
  cd ..
  
  %JAVA_HOME%\bin\java -jar mboot.jar
  
  
  
  1.1                  maven-components/m2-bootstrap-all.sh
  
  Index: m2-bootstrap-all.sh
  ===================================================================
  #!/bin/sh
  
  # Check to make sure  JAVA_HOME is set
  [ -z $JAVA_HOME ] && echo && echo 'You must set $JAVA_HOME to use mboot!'
&& echo && exit 1
  
  # Build and install mboot
  (
    echo "-----------------------------------------------------------------------"
    echo " Building mboot ... "
    echo "-----------------------------------------------------------------------"  
  
    cd ./maven-mboot2
    ./build
    ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  )
  ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  
  (
    echo "-----------------------------------------------------------------------"
    echo " Building maven2 components ... "
    echo "-----------------------------------------------------------------------"  
  
    $JAVA_HOME/bin/java -jar mboot.jar
    ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  )
  ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  
  (
    cd ./maven-core-it
    echo
    echo "Running maven-core integration tests ..."
    echo 
    ./maven-core-it.sh 
    ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  )
  ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  
  
  

Mime
View raw message