Skip to content

Scripts that build Play 2! with Scala-Virtualized

Notifications You must be signed in to change notification settings

js-scala/build-play20

 
 

Repository files navigation

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.

About

Scripts that build Play 2! with Scala-Virtualized

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%