#!/bin/bash # convenient way to use this script on a mac is to call 'open run.command' export GERONIMO_OPTS=" -Xmx2048m -XX:MaxPermSize=1440m -ea " #export GERONIMO_OPTS=" $GERONIMO_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" cd "$(dirname "$0")" && mvn -o clean test -Dgeronimo-assembly -Dincontainer -DassemblyId=tomcat7-javaee6 -Dreleased | tee build.log read -p "press any key to exit" n