We also clean up exports.sh a bit so it's easy to tell what needs
customizing for new environments vs. what is supposed to work as-is.
These are hopefully more up-to-date and reasonable defaults for a
developer on OS X, and for developers not on OS X, hopefully the cleanup
helps clarify what likely needs customization.
One of the changes to default values is to use the scala-library.jar
within the given installation of Scala, not the repo's
scala-library.jar. I don't know much about Scala, but it seems like a
better default to make SCALA, SCALA_HOME, and SCALA_LIBRARY_JAR all
match instead of SCALA_LIBRARY_JAR being a special snowflake that's
checked into the repo.
I think this is a reference to the mysql-connector-java library, a jar
for which is already part of the repo. (Technically, it's bad to have
jars in repos, but we'll solve that problem another time.)
When I used Scala 2.7, I got a compiler error "not found: value math."
As far as I can tell, this is because Scala 2.7 doesn't include a
scala.math package (http://www.scala-lang.org/api/2.7.7/). I tried
Scala 2.11.7 instead, and that worked fine.