start-fitnesse.sh 365 Bytes
#!/bin/bash

SCRIPT=$(readlink -f "$0")
SCRIPTDIR=$(dirname "$SCRIPT")

if [ -z "${1}" ]; then
  echo "Usage : ${0} PORT"
  exit 1
else
  FITNESSE_PORT=${1}
fi;

. ${SCRIPTDIR}/amda-kernel-env

export PATH="${SCRIPT_PATH}/../build/Debug/bin:$PATH"
nohup java -jar "${FITNESSE_DIR}/fitnesse-standalone.jar" -d test -e 0 -p ${FITNESSE_PORT} &> /tmp/nohup.out

exit 0