LoginSignup
7
7

More than 5 years have passed since last update.

【Play!】PlayFramework2.2.1→2.2.2へ移行【Scala】

Last updated at Posted at 2014-03-07

Mac環境にて

playframework2.2.2を入れる。

↓DL URL
http://downloads.typesafe.com/play/2.2.2/play-2.2.2.zip

ダウンロードしてパスを通して下さい。

$ play help

でそれっぽく出てくればOKですよ(ちょい時間かかります)

ソースコード修正

ここからが重要。

[application_top]/project/plugins.sbt修正

$ vi [application_top]/project/plugins.sbt
[application_top]/project/plugins.sbt

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.1")
↓
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.2")

動かしてみよう

$ cd [application_top]
$ play

1_____scala-development_kanaloco__sh__と_Installing-8.jpg

入りましたか?

で、play console でどきどきしながらrunを叩きます

> run

全パッケージのダウンロードに成功して、
画面のリロードして大量のコンパイルに成功して、
ほっとしたらひとまず完了です。

IntelliJ用にリロード

play consoleで下記実行しましょう。
scalaのバージョンが2.10.2→2.10.3になっていますので。

> idea
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7