Playframework 事始め その2

まあ、どこのPlay2を説明しているサイトも記述してあるが、下記コマンドにてアプリが起動する。

[bash]
$ play run
Getting org.scala-sbt sbt_2.9.1 0.11.3 …
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
37 artifacts copied, 0 already retrieved (7245kB/949ms)
[info] Loading project definition from /Users/northvan/Works/eclipse/PlayTest/project
[info] Set current project to PlayTest (in build file:/Users/northvan/Works/eclipse/PlayTest/)

[info] Updating {file:/Users/northvan/Works/eclipse/PlayTest/}PlayTest…
[info] Done updating.
— (Running the application from SBT, auto-reloading is enabled) —

[info] play – Listening for HTTP on port 9000…

(Server started, use Ctrl+D to stop and go back to the console…)

[info] Compiling 5 Scala sources and 1 Java source to /Users/northvan/Works/eclipse/PlayTest/target/scala-2.9.1/classes…
[info] play – Application started (Dev)
[/bash]

railsと似た良い感じ。ただコンパイルが走っているからか、railsと比較して少し起動は遅く感じる。

This entry was posted in Scala, 技術情報. Bookmark the permalink.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です