Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d4e074637c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 40 lines (33 sloc) 1.012 kb
#!/bin/bash
root=$(
cd $(dirname $(readlink $0 || echo $0))/..
/bin/pwd
)
sbtjar=sbt-launch-0.7.4.jar
if [ ! -f $sbtjar ]; then
echo 'downloading '$sbtjar 1>&2
curl -O http://simple-build-tool.googlecode.com/files/$sbtjar
fi
test -f $sbtjar || exit 1
if [ $(openssl md5 < $sbtjar) != 8903fb141037056a497925f3efdb9edf ]; then
echo 'bad sbtjar!' 1>&2
exit 1
fi
test -f ~/.sbtconfig && . ~/.sbtconfig
java -ea \
$SBT_OPTS \
$JAVA_OPTS \
-Djava.net.preferIPv4Stack=true \
-XX:+AggressiveOpts \
-XX:+UseParNewGC \
-XX:+UseConcMarkSweepGC \
-XX:+CMSParallelRemarkEnabled \
-XX:+CMSClassUnloadingEnabled \
-XX:MaxPermSize=1024m \
-XX:SurvivorRatio=128 \
-XX:MaxTenuringThreshold=0 \
-Xss8M \
-Xms512M \
-Xmx3G \
-server \
-jar $sbtjar "$@"
Jump to Line
Something went wrong with that request. Please try again.