title: Play Framework will not recognize Java Options (JVM args) passed in Build.scala
body: <p>All,</p>
  
  <p>I'm trying to get Play Framework to recognize JVM arguments in all modes (test, run start) by setting them in Build.scala.</p>
  
  <p>Unfortunately, Play ignores everything I've thrown at it. </p>
  
  <p>I've set Keys.javaOptions and Keys.fork, but it SBT flat out ignores the fork command. I also tried going at this by replacing Build.scala with build.sbt, but that doesn't seem to work either.</p>
  
  <p>I realize you can set JAVA_OPTS or PLAY_OPTS in your environment, but this is really lousy way of doing things. One should be able to configure this at the application level and play should be smart enough to either spawn a new process or re-launch itself with the appropriate configuration.</p>
  
  <p>Anyone able to get this to work? If so, can you provide a complete, working solution?</p>