{"id":935,"date":"2010-05-13T18:50:55","date_gmt":"2010-05-13T09:50:55","guid":{"rendered":"http:\/\/ecpplus.net\/weblog\/?p=935"},"modified":"2022-09-29T17:55:07","modified_gmt":"2022-09-29T08:55:07","slug":"scalaplayframework%e3%82%84%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/scalaplayframework%e3%82%84%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b\/","title":{"rendered":"Scala(playframework)\u3084\u3063\u3066\u307f\u308b"},"content":{"rendered":"<p>\u307e\u305a\u306f\u74b0\u5883\u69cb\u7bc9\u306e\u30e1\u30e2\u3002<\/p>\n<p>\u512a\u3057\u3044 Scala \u306e\u80b2\u3066\u65b9\u3092\u53c2\u8003\u306b\u3001\u65b0\u3057\u3081\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5165\u308c\u3066\u307f\u305f\u3002<\/p>\n<h3>scala\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Mac\u306a\u3089port\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u304c2010-05-13\u73fe\u57282.7\u304c\u5165\u308b\u306e\u3067\u3001<a href=\"http:\/\/www.scala-lang.org\/\">Scala\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u304b\u30892.8RC\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre><code>% curl -O http:\/\/www.scala-lang.org\/downloads\/distrib\/files\/scala-2.8.0.RC2.tgz<\/code><\/pre>\n<p>\u89e3\u51cd\u3057\u305f\u3089\u3001 bin \u306b PATH \u3092\u901a\u3059\u3002<\/p>\n<p>scala \u3068\u6253\u3064\u3068\u3001\u8d77\u52d5\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code>% scala\nPicked up _JAVA_OPTIONS: -Duser.language=en\nWelcome to Scala version 2.8.0.RC2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_17).\nType in expressions to have them evaluated.\nType :help for more information.\n\nscala&gt;<\/code><\/pre>\n<p>\u5bfe\u8a71\u578b\u306e\u30b7\u30a7\u30eb\u304c\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3001 :q \u3068\u3057\u3066\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<h3>playframework\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre><code>% curl -O http:\/\/download.playframework.org\/1.1-nightly\/play-1.1-unstable-r881.zip<\/code><\/pre>\n<p>\u89e3\u51cd\u3057\u3066\u3001\u89e3\u51cd\u3057\u305f play-1.1-unstable-r881 \u81ea\u4f53\u306bPATH\u3092\u901a\u3057\u307e\u3059\u3002<\/p>\n<h4>Scala \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>playframework \u3092 scala \u3067\u52d5\u304b\u305b\u308b\u3088\u3046\u306b\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code>% play install scala<\/code><\/pre>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3 0.3 \u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/h4>\n<pre><code>% play new ecpplus --with scala<\/code><\/pre>\n<p>ecpplus \u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>\u8d77\u52d5<\/h4>\n<pre><code>% play run<\/code><\/pre>\n<p><code><a href=\"http:\/\/localhost:9000\/\">http:\/\/localhost:9000\/<\/a><\/code> \u3067\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"mailto:code&gt;http:\/\/localhost:9000\/@documentation&lt;\/code\">code>http:\/\/localhost:9000\/@documentation<\/code<\/a> \u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u898b\u3089\u308c\u308b\u307f\u305f\u3044\u3067\u3059\u304c\u3001JAVA\u3067\u8a18\u8ff0\u3059\u308b\u5834\u5408\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u3088\u3046\u306a\u306e\u3067\u3001 Scala\u7248\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 \u3092\u8aad\u3093\u3067\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u74b0\u5883\u69cb\u7bc9\u306f\u3053\u3053\u307e\u3067\u3002<\/p>\n<p>\u53cb\u9054\u304c JAVA \u306e\u30d0\u30fc\u30b8\u30e7\u30f3 1.5 \u3060\u3068\u52d5\u304b\u306a\u304b\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u30011.6\u306b\u3057\u3066\u304a\u3051\u3070OK\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u307e\u305a\u306f\u74b0\u5883\u69cb\u7bc9\u306e\u30e1\u30e2\u3002 \u512a\u3057\u3044 Scala \u306e\u80b2\u3066\u65b9\u3092\u53c2\u8003\u306b\u3001\u65b0\u3057\u3081\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5165\u308c\u3066\u307f\u305f\u3002 scala\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Mac\u306a\u3089port\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u304c2010-05-13\u73fe\u57282.7\u304c\u5165\u308b\u306e\u3067\u3001Scala\u516c\u5f0f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2934,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[21],"class_list":["post-935","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-scala"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=935"}],"version-history":[{"count":7,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/935\/revisions"}],"predecessor-version":[{"id":4369,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/935\/revisions\/4369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media\/2934"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}