if [ $? -ne 0 ]; then return 1; fi
echo "Build starting at: $(date)"
-# clean up some things.
-#maybe not needed.
-if [ ! -d unit-test-reports ]; then
-echo this chunk in build_xsedes could be removed to clean up unit tests
-else
-\rm -rf unit-test-reports
-fi
+ # clean up some things.
+ \rm -rf unit-test-reports
# build the trunk.
ant -Dbuild.targetArch=64 build
fi
pushd $GENII_INSTALL_DIR
ant clean
+
if [ $? -ne 0 ]; then return 1; fi
popd
build_xsede
success_sound
}
+# a shortcut for building without a clean, and creating a bootstrap container with the code.
+function bu_bootstrap()
+{
+ build_xsede
+ if [ $? -ne 0 ]; then echo "failed to rebuild xsede code"; return 1; fi
+
+ bash $GENII_INSTALL_DIR/xsede_tools/library/bootstrap_quick_start.sh
+ if [ $? -ne 0 ]; then echo "failed to bootstrap a container"; return 1; fi
+
+ success_sound
+}
+
# a shortcut for doing a quick build and then creating an installer.
function fast_install_build()
{