2004-01-03 00:33:25 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2004-01-03 18:49:46 -05:00
|
|
|
rm -rf target > /dev/null 2>&1
|
|
|
|
|
2004-01-03 00:33:25 -05:00
|
|
|
. src/bash/maven.functions
|
|
|
|
|
2004-01-31 00:28:06 -05:00
|
|
|
downloadMBootDependencies
|
2004-01-13 12:38:30 -05:00
|
|
|
|
2004-01-31 00:28:06 -05:00
|
|
|
createMBootClasspath
|
2004-01-13 12:38:30 -05:00
|
|
|
|
2004-01-31 00:28:06 -05:00
|
|
|
compile ".:$MBOOT_CP" target/classes src/main
|
2004-01-03 00:33:25 -05:00
|
|
|
|
|
|
|
isCommandSuccessful $? "Failed compiling Maven bootstrapper classes!"
|
|
|
|
|
|
|
|
DIST=target/mboot
|
|
|
|
|
|
|
|
mkdir -p $DIST
|
|
|
|
|
|
|
|
cp -r target/classes $DIST
|
|
|
|
|
|
|
|
cp src/bash/* $DIST
|
|
|
|
|
|
|
|
(
|
|
|
|
cd target/mboot
|
|
|
|
|
|
|
|
tar cvzf ../mboot.tar.gz *
|
|
|
|
)
|
|
|
|
|
|
|
|
cat src/sea/sea-header target/mboot.tar.gz > target/mboot-install.sh
|
|
|
|
|
|
|
|
chmod +x target/mboot-install.sh
|
|
|
|
|
2004-01-13 12:38:30 -05:00
|
|
|
rm -f bootstrap.repo > /dev/null 2>&1
|