Running `play test` on OSX causes a java app to appear in the dock
ebean, java, playframework-2.0, sbt, scala
Solution
Found a way to achieve this in sbt config file:
javaOptions in (Test, run) += "-Djava.awt.headless=true"
Problem
This wouldn't be a major issue, but the app is stealing focus every time it goes off. The app icon that appears in the dock is named `sbt.ForkMain`. I've traced it down to `ebean.default="models.*"` in the application.conf file. When this line is commented out, the app dosen't run. I'm quite sure this has something to do with the ebean server starting up, but it dosen't happen on any of my other machines. I'm using a brand new installation of OSX 10.8.3, and this happens even in a clean `play new xxxx` folder. `play! 2.1.0 (using Java 1.6.0_51 and Scala 2.10.0), http://www.playframework.org` Any help would be appreciated.