Permalink
Cannot retrieve contributors at this time
Fetching contributors…

#!/bin/sh | |
# Load custom liftsh config | |
if test -f ~/.liftsh.config; then | |
. ~/.liftsh.config | |
fi | |
# Internal options, always specified | |
INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCacheSize=96m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m" | |
# Add 64bit specific option | |
exec java -version 2>&1 | grep -q "64-Bit" && INTERNAL_OPTS="${INTERNAL_OPTS} -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m" | |
# Default options, if nothing is specified | |
DEFAULT_OPTS="" | |
cd `dirname $0` | |
# Call with INTERNAL_OPTS followed by LIFTSH_OPTS (or DEFAULT_OPTS). java always takes the last option when duplicate. | |
exec java ${INTERNAL_OPTS} ${LIFTSH_OPTS:-${DEFAULT_OPTS}} -jar project/sbt-launch-0.12.0-RC2.jar "$@" |