Skip to content
andyk edited this page Dec 14, 2010 · 20 revisions

How to build SCADS

Using SBT

  1. Create a shell script called "sbt" 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/~marbrus/tmp/sbt-launch.jar

Using Maven

  1. get the SCADS code with: git clone https://[email protected]/radlab/SCADS.git
  2. update your ~/.m2/settings.xml like: http://radlab.cs.berkeley.edu/wiki/Infrastructure
  3. you can run mvn compile on the base directory, but it won't work. apparently, the code doesn't really work yet...
  4. just to get things compiling, you can go into the config, avro, comm directories (in that order) and run: mvn install
  5. then go to scalaengine, and run: mvn compile
Clone this wiki locally