Play Framework
Scalaで使うためのインストール
以下は2011/4現在のもの。
* 当然ながらJREが必要 * Scalaはあらかじめインストールされていなくてもよい(らしい)。私は2.8.1.をインストール済。 * http://www.playframework.org/からplay-1.2をダウンロードして適当に展開。 * DOS窓で展開ディレクトリに行き、「play install scala」と入力すると、勝手にmoduleをダウンロードしてインストールされる。 Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\ysugimura>cd \deel\play-1.2 指定されたパスが見つかりません。
C:\Users\ysugimura>cd \devel\play-1.2
C:\devel\play-1.2>playe 'playe' は、内部コマンドまたは外部コマンド、 操作可能なプログラムまたはバッチ ファイルとして認識されていません。
C:\devel\play-1.2>play ~ _ _ ~ _ | | _ _ _| | ~ | '_ \| |/ _' | || |_| ~ | /|_|\|\ (_) ~ |_| |/ ~ ~ play! 1.2, http://www.playframework.org ~ ~ Usage: play cmd [app_path] [--options] ~ ~ with, new Create a new application ~ run Run the application in the current shell ~ help Show play help ~ C:\****\play-1.2>play install scala
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.2, http://www.playframework.org
~
~ Will install scala-0.9
~ This module is compatible with: 1.2
~ Do you want to install this version (y/n)? y
~ Installing module scala-0.9...
~
~ Fetching http://www.playframework.org/modules/scala-0.9.zip
~ [--------------------------100%-------------------------] 28116.7 KiB/s
~ Unzipping...
~
~ Module scala-0.9 is installed!
~ You can now use it by add adding this line to application.conf file:
~
~ module.scala=${play.path}/modules/scala-0.9
~
C:\devel\play-1.2>