start-fitnesse.sh
497 Bytes
#!/bin/bash
if [ -z "${1}" ]; then
echo "Usage : ${0} PORT"
exit 1
else
FITNESSE_PORT=${1}
fi;
MY_GXX_HOME="/opt/tools/gcc/4.7.2/rtf"
export PATH="${MY_GXX_HOME}/bin:${PATH}"
export LD_LIBRARY_PATH="${MY_GXX_HOME}/lib64:${MY_GXX_HOME}/lib:/opt/local/lib:${LD_LIBRARY_PATH}"
export OLD_PATH=$PATH
PWD=`pwd`
export PATH=${PWD}/build/Debug/bin:/opt/local/bin:$OLD_PATH
export BUILD_TYPE=Debug
nohup java -jar /opt/FitNesse/fitnesse-standalone.jar -d test -e 0 -p ${FITNESSE_PORT} &
exit 0