These scripts build Play 2.0.2 (and its Scala dependencies) with a local build of Scala-Virtualized, as required for play-js-validation and the js.scala samples.
- Locally deploy Scala-Virtualized with the following commands:
ant fastdist && ant distpack
(cd dists/maven/latest; ant deploy.release.local)
-
Export the
SCALA_VIRTUALIZED_VERSION
environment variable to point to your locally released Scala-Virtualized version. You can find which versions you have locally released with the commandls -t1 ~/.m2/repository/org/scala-lang/scala-compiler | egrep -v xml
-
In order for your locally deployed Scala to be found by SBT, you might need to add
maven-local
to~/.sbt/repositories
. If this file doesn't exist, create it with the content:[repositories] maven-local
-
Run
./build-play.sh
.
- In case of problems with sbt's compiler interface, run this script.