Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.08 KB

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.

Setup

  1. Locally deploy Scala-Virtualized with the following commands:
  • ant fastdist && ant distpack
  • (cd dists/maven/latest; ant deploy.release.local)
  1. 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 command

    • ls -t1 ~/.m2/repository/org/scala-lang/scala-compiler | egrep -v xml
  2. 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
    
  3. Run ./build-play.sh.

  • In case of problems with sbt's compiler interface, run this script.