3 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
7 pushd ~/xsede/code/fred/trunk
8 if [ $? -ne 0 ]; then return 1; fi
9 echo "Build starting at: $(date)"
10 \rm -rf unit-test-reports
11 ant -Dbuild.targetArch=64 build
12 if [ $? -ne 0 ]; then return 1; fi
14 #hmmm: clean these up.
15 if [ -f runContainer.sh ]; then
16 sed -i -e "s/-Xmx512M/-Xmx2G/" "runContainer.sh"
17 chmod 755 "runContainer.sh"
20 # sed -i -e "s/-Xmx512M/-Xmx1G/" "grid"
23 if [ -f runContainer.bat ]; then
24 sed -i -e "s/-Xmx512M/-Xmx2G/" "runContainer.bat"
25 chmod 755 "runContainer.bat"
27 if [ -f grid.bat ]; then
28 # sed -i -e "s/-Xmx512M/-Xmx1G/" "grid.bat"
31 echo "Build done at: $(date)"
35 function rebuild_xsede()
37 pushd ~/xsede/code/fred/trunk
39 if [ $? -ne 0 ]; then return 1; fi