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 # update the libs first.
13 if [ $? -ne 0 ]; then return 1; fi
14 # then build the trunk.
15 ant -Dbuild.targetArch=64 build
16 if [ $? -ne 0 ]; then return 1; fi
18 #hmmm: clean these up.
19 if [ -f runContainer.sh ]; then
20 sed -i -e "s/-Xmx512M/-Xmx2G/" "runContainer.sh"
21 chmod 755 "runContainer.sh"
24 # sed -i -e "s/-Xmx512M/-Xmx1G/" "grid"
27 if [ -f runContainer.bat ]; then
28 sed -i -e "s/-Xmx512M/-Xmx2G/" "runContainer.bat"
29 chmod 755 "runContainer.bat"
31 if [ -f grid.bat ]; then
32 # sed -i -e "s/-Xmx512M/-Xmx1G/" "grid.bat"
35 echo "Build done at: $(date)"
39 function rebuild_xsede()
41 pushd ~/xsede/code/fred/trunk
43 if [ $? -ne 0 ]; then return 1; fi