-
Notifications
You must be signed in to change notification settings - Fork 10
Home
andyk edited this page Dec 14, 2010
·
20 revisions
- Get the SCADS code with:
git clone https://[email protected]/radlab/SCADS.git
- 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 "$@"
- download
sbt-launch
from http://cs.berkeley.edu/~marbrus/tmp/sbt-launch.jar and put it into the same directory as the above sbt script - 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)
==== Maven2 Local: tried
file:///Users/andyk/.m2/repository/org/scala-lang/scala-compiler/2.8.0/scala-compiler-2.8.0.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: FAILED DOWNLOADS ::
:: ^ see resolution messages for details ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-lang#scala-compiler;2.8.0!scala-compiler.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: org.scala-lang#scala-compiler;2.8.0!scala-compiler.jar
Error during sbt execution: Error retrieving required libraries
(see /Users/andyk/Development/SCADS/project/boot/update.log for complete log)
[error] Could not retrieve Scala 2.8.0
- get the SCADS code with:
git clone https://[email protected]/radlab/SCADS.git
- you will need maven 2.2.1. on mac osx, here are some notes on updating maven: http://patrickwebster.blogspot.com/2010/08/updating-maven-in-mac-os-x-snow-leopard.html
- update your ~/.m2/settings.xml like:
http://radlab.cs.berkeley.edu/wiki/Infrastructure
- you can run mvn compile on the base directory, but it won't work. apparently, the code doesn't really work yet...
- just to get things compiling, you can go into the config, avro, comm directories (in that order) and run: mvn install
- then go to scalaengine, and run: mvn compile