leon/play-salat — pull request #4 by FabienPennequin (2012-05-05 21:00:10+00:00)
Title: Fixed compatibility with play 2.0

When I try to run the sample project, the compilation fails because sbt v0.11.2 uses the latest version of Play available (v2.1).

It seems that when a range version is used, sbt/maven will download the highest version available (see http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution).

--

The compilation error:
> [error] /path/to/play-salat/sample/target/scala-2.9.1/src_managed/main/routes_routing.scala:14: object creation impossible, since:
> [error] method prefix in trait Routes of type => String is not defined
> [error] method setPrefix in trait Routes of type (prefix: String)Unit is not defined
> [error] object Routes extends Router.Routes {
> [error] ^
> [error] one error found
> [error] {file:/path/to/play-salat/sample/}sample/compile:compile: Compilation failed