Blame view

script/start-fitnesse.sh 365 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
#!/bin/bash

6c8de11c   Benjamin Renard   Remove hard coded...
3
4
SCRIPT=$(readlink -f "$0")
SCRIPTDIR=$(dirname "$SCRIPT")
7bde1dd3   Benjamin Renard   Remove hard coded...
5

fbe3c2bb   Benjamin Renard   First commit
6
7
8
9
10
11
12
if [ -z "${1}" ]; then
  echo "Usage : ${0} PORT"
  exit 1
else
  FITNESSE_PORT=${1}
fi;

6c8de11c   Benjamin Renard   Remove hard coded...
13
. ${SCRIPTDIR}/amda-kernel-env
fbe3c2bb   Benjamin Renard   First commit
14

6c8de11c   Benjamin Renard   Remove hard coded...
15
16
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
fbe3c2bb   Benjamin Renard   First commit
17
18

exit 0