#!/bin/bash
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" # for check_result.
+
function build_xsede()
{
pushd ~/xsede/code/cak0l/trunk
+ check_result "entering trunk directory"
echo "Build starting at: $(date)"
\rm -rf unit-test-reports
ant -Dbuild.targetArch=64 build
+ check_result "building the trunk"
# fix memory limits.
#hmmm: clean these up.
if [ -f runContainer.sh ]; then
{
pushd ~/xsede/code/cak0l/trunk
ant clean
+ check_result "cleaning the trunk"
popd
build_xsede
}