<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>teppei-studio</author_name>
  <author_url>https://blog.hatena.ne.jp/teppei-studio/</author_url>
  <blog_title>TEPPEI STUDIO</blog_title>
  <blog_url>https://teppei.hateblo.jp/</blog_url>
  <categories>
    <anon>Play</anon>
  </categories>
  <description>Playframeworkの1系では、 %dev.xx = xxx %prod.xx = xxxというように、ひとつの application.conf ファイルの中で「 % 」を使って稼働モードを切り分けることができましたが、2系でこの機能はなくなりました。ひとつのファイルの中でコントロールすることはできないので、 prod.conf 、 dev.conf というようにconfファイルを分けて、起動時に指定してあげる必要があります。 play run -Dconfig.file=conf/dev.confすんごい基礎的なことながら結構時間かかった...参考サイト： scala - How d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fteppei.hateblo.jp%2Fentry%2F2012%2F11%2F04%2F082511&quot; title=&quot;Play2でconfファイルを環境毎に切り替える方法 - TEPPEI STUDIO&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-04 08:25:11</published>
  <title>Play2でconfファイルを環境毎に切り替える方法</title>
  <type>rich</type>
  <url>https://teppei.hateblo.jp/entry/2012/11/04/082511</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
