mirror of https://github.com/apache/maven.git
move bootstrap script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c21cbfa66c
commit
b30c5c3a30
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
|
||||
# TODO: error checking
|
||||
|
||||
(
|
||||
cd bootstrap/bootstrap-mini
|
||||
./build
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
java -jar target/bootstrap-mini.jar install
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
)
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
||||
BOOTSTRAP_JAR=../bootstrap-mini/target/bootstrap-mini-2.0.1-SNAPSHOT.jar
|
||||
|
||||
(
|
||||
cd bootstrap/bootstrap-installer
|
||||
java -jar $BOOTSTRAP_JAR package
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
)
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
||||
java -jar bootstrap/bootstrap-installer/target/bootstrap-installer-2.0.1-SNAPSHOT.jar
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
|
@ -9,5 +9,7 @@ rm -rf ${buildDir} > /dev/null 2>&1
|
|||
mkdir -p ${classesDir}
|
||||
|
||||
"$JAVA_HOME/bin/javac" -g -d ${classesDir} `find ${srcDir} -name '*.java'`
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
||||
( cd ${classesDir} ; "$JAVA_HOME/bin/jar" -cfm ../bootstrap-mini.jar ../../src/main/resources/META-INF/MANIFEST.MF * )
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# TODO: error checking
|
||||
|
||||
(
|
||||
cd bootstrap-mini
|
||||
./build
|
||||
java -jar target/bootstrap-mini.jar install
|
||||
)
|
||||
|
||||
BOOTSTRAP_JAR=../bootstrap-mini/target/bootstrap-mini-2.0.1-SNAPSHOT.jar
|
||||
|
||||
(
|
||||
cd bootstrap-installer
|
||||
java -jar $BOOTSTRAP_JAR package
|
||||
)
|
||||
|
||||
(
|
||||
cd ..
|
||||
java -jar bootstrap/bootstrap-installer/target/bootstrap-installer-2.0.1-SNAPSHOT.jar
|
||||
)
|
||||
|
Loading…
Reference in New Issue