Permalink
Newer
Older
100755 16 lines (11 sloc) 585 Bytes
1
#!/bin/sh
2
3
# Load custom liftsh config
4
if test -f ~/.liftsh.config; then
5
. ~/.liftsh.config
6
fi
7
8
# Internal options, always specified
9
INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xss8M -Xmx1G -noverify -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512M"
11
# Default options, if nothing is specified
12
DEFAULT_OPTS="-Dsbt.intransitive=true"
13
14
# Call with INTERNAL_OPTS followed by LIFTSH_OPTS (or DEFAULT_OPTS). java aways takes the last option when duplicate.
May 15, 2011
15
exec java ${INTERNAL_OPTS} ${LIFTSH_OPTS:-${DEFAULT_OPTS}} -jar `dirname $0`/project/sbt-launch-0.7.7.jar "$@"