title: Define JAVA_OPTS in build.sbt in Play Framework 2.3.0 (Java)
body: <p>I'm trying to define JAVA_OPTS in build.scala in order to specify the debug port and the configuration file for the run and test tasks, but it doesn't work. I launch <code>activator</code> and then <code>run</code> or <code>test</code>.
  Here is my build.sbt :</p>
  
  <pre><code>name := "machinchose"
  
  version := "1.0-SNAPSHOT"
  
  lazy val root = (project in file(".")).enablePlugins(PlayJava)
  
  scalaVersion := "2.11.1"
  
  libraryDependencies ++= Seq(
    javaJdbc,
    javaEbean,
    cache,
    javaWs
  )
  
  Keys.fork in run := true
  
  javaOptions in run ++= Seq(
      "-Xdebug",
      "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9997",
      "-Dconfig.file=conf/developpement.conf",
      "-Xms128m",
      "-Xmx1024m"
  )
  
  Keys.fork in Test := true
  
  javaOptions in Test ++= Seq(
      "-Xdebug",
      "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9997",
      "-Dconfig.file=conf/test.conf",
      "-Xms128m",
      "-Xmx1024m"
  )
  </code></pre>
  
  <p>What did I messed ? Thanks for your help.</p>