Skip to content
marmbrus edited this page Dec 20, 2010 · 27 revisions

Installing SBT

  1. Create a shell script called "sbt" (optionally: somewhere in your path) with the following in it:
#!/bin/bash
java -noverify -Djava.library.path=/usr/local/mesos/lib/java -Xmx7G -XX:MaxPermSize=3G \
-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar `dirname $0`/sbt-launch.jar "$@"
  1. download sbt-launch from http://cs.berkeley.edu/~marmbrus/tmp/sbt-launch.jar and put it into the same directory as the above sbt script
  2. try it out by running sbt while in the top level directory of SCADS

NOTE: If you get an error that looks like the following, you should delete ~/.m2/repository and ~/.ivy2/cache.

:: problems summary ::
:::: WARNINGS
		[NOT FOUND  ] org.scala-lang#scala-compiler;2.8.0!scala-compiler.jar (76ms)

SBT Command Reference

Clone this wiki locally