The bootstrap script is now visible from root directory.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-07-27 17:37:07 +00:00
parent efe96463b6
commit fbaa75cd21
4 changed files with 46 additions and 1 deletions

2
ci.sh
View File

@ -115,7 +115,7 @@ export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
echo
(
cd $DIR/maven-components/maven-core
cd $DIR/maven-components
./m2-bootstrap-all.sh
)

9
m2-bootstrap-all.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
cd maven-mboot2
call .\build
cd ..
%JAVA_HOME%\bin\java -jar mboot.jar

36
m2-bootstrap-all.sh Normal file
View File

@ -0,0 +1,36 @@
#!/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

BIN
mboot.jar

Binary file not shown.