[Scala]Play framework 2.0でプロジェクトルートのパスを取得する方法
Controllerの中などで、
Play.current.path.getPath()
とする
2012年5月8日
Controllerの中などで、
Play.current.path.getPath()
とする
Posted by GENDOSU

import org.apache.commons.io.FileUtils v ...

今回のお題は プログラムをやってて、ある程度数値をいじる方にはもう一般的な事かも ...

Scalaだと、テキストファイルなどを開く時は // ファイルを開いてインスタン ...

文字列の長さを取得 scala> "test" length Int = ...

sbtでパッケージ管理しているScalaのプロジェクトから 単体で実行できるja ...
