Start of a more capable runner.

This commit is contained in:
Paul Phillips 2011-08-14 08:22:50 -07:00
parent 5663bbe1e1
commit 0920f5dda8
1 changed files with 15 additions and 0 deletions

15
bin/xsbt Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
#
sbt_jar=/soft/inst/sbt/xsbt-launch.jar
# get completion if present
[[ -f .sbt_completion.sh ]] && source .sbt_completion.sh
java $JAVA_OPTS \
$SBT_OPTS \
-XX:+CMSClassUnloadingEnabled \
-XX:ReservedCodeCacheSize=1g \
-XX:MaxPermSize=512m -Xmx4g -Xss4m \
-jar "$sbt_jar" \
"$@"