mesos/spark — Issue #101: Update documentation for building with Scala 2.8
Author: andyk
Created: 2011-12-15 20:22:07+00:00
State: open

https://github.com/mesos/spark/wiki currently says under "Building" subheading: "Spark requires Scala 2.9 or 2.8."

... and then later: "Once you have set up Scala, run sbt/sbt compile (in the scala-2.8 branch, sbt/sbt update compile) in the top-level Spark directory to build Spark. (Spark uses Simple Build Tool, which is bundled with it.)"

It would be very helpful if the documentation more explicitly laid out the slightly different instructions you should follow for building with Scala 2.8 vs. 2.9.

Maybe that final paragraph under "Build" can be reworked to be:

Once you have set up Scala, in the top-level Spark directory....

If you are using Scala 2.8.*:
1. Check out the scala-2.8 git branch, by running: `git checkout -b scala-2.8 --track origin/scala-2.8`
2. Update and compile, by running: `sbt/sbt update compile`
3. Consider upgrading to Scala 2.9 to access the newest features of Spark! :)

If you are using Scala 2.9.*:
1. Compile, by running: sbt/sbt compile

Note: as you see above, Spark uses Simple Build Tool, which is bundled with it.