Today I decided to upgrade from Play Framework 2.0.4 to the newly released 2.1.0.
I followed their helpful guide: http://www.playframework.com/documentation/2.1.0/Migration
Here is a list of the problems I had, and how I solved them:
- When it says change the import in the Build.scala to
Don’t forget the “
- It says that “the
mainLangparameter for the project is not required anymore” – but it really means remove it.
- I also had to Google to figure how to update this dependency:
"com.typesafe" %% "play-plugins-mailer" % "2.1-RC2"
- I also ended up having to update the dependencies for Deadbolt as well to the following:
"be.objectify" %% "deadbolt-core" % "2.1-SNAPSHOT", "be.objectify" %% "deadbolt-java" % "2.1-SNAPSHOT",
Otherwise, follow the instructions – the rest was pretty straight forward.
I also used a pull request from the PVM (Play Version Manager) to download and switch Play Framework Versions.If you have read this far, you may as well follow me on Twitter: