Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 21 lines (14 sloc) 0.759 kb
50947c5 Indrajit Raychaudhuri - Update SBT for new project layout
indrajitr authored
1 #!/bin/sh
2
3 # Load custom liftsh config
4 if test -f ~/.liftsh.config; then
5 . ~/.liftsh.config
6 fi
7
f917c8e Indrajit Raychaudhuri Split liftsh options, modifying LIFTSH_OPTS is safer now. You can now do...
indrajitr authored
8 # Internal options, always specified
33bf011 Indrajit Raychaudhuri Remove -XX:+UseCompressedOops since it works for 64bit JVM only
indrajitr authored
9 INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCacheSize=96m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m"
50947c5 Indrajit Raychaudhuri - Update SBT for new project layout
indrajitr authored
10
5275c48 Indrajit Raychaudhuri use `-XX:+UseCompressedOops` for 64 bit jvm
indrajitr authored
11 # Add 64bit specific option
d07d091 Indrajit Raychaudhuri bump up `ReservedCodeCacheSize` for 64bit jvm
indrajitr authored
12 exec java -version 2>&1 | grep -q "64-Bit" && INTERNAL_OPTS="${INTERNAL_OPTS} -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m"
5275c48 Indrajit Raychaudhuri use `-XX:+UseCompressedOops` for 64 bit jvm
indrajitr authored
13
f917c8e Indrajit Raychaudhuri Split liftsh options, modifying LIFTSH_OPTS is safer now. You can now do...
indrajitr authored
14 # Default options, if nothing is specified
9e27e1c Indrajit Raychaudhuri - Update to SBT 0.12.0-M1
indrajitr authored
15 DEFAULT_OPTS=""
f917c8e Indrajit Raychaudhuri Split liftsh options, modifying LIFTSH_OPTS is safer now. You can now do...
indrajitr authored
16
d377720 Indrajit Raychaudhuri Make jar path more unambiguous
indrajitr authored
17 cd `dirname $0`
18
9e27e1c Indrajit Raychaudhuri - Update to SBT 0.12.0-M1
indrajitr authored
19 # Call with INTERNAL_OPTS followed by LIFTSH_OPTS (or DEFAULT_OPTS). java always takes the last option when duplicate.
4f59131 Indrajit Raychaudhuri Move to SBT 0.12.0-RC2
indrajitr authored
20 exec java ${INTERNAL_OPTS} ${LIFTSH_OPTS:-${DEFAULT_OPTS}} -jar project/sbt-launch-0.12.0-RC2.jar "$@"
Something went wrong with that request. Please try again.