scalatra/scalatra-sbt.g8 — pull request #15 by ymasory (2012-10-08 21:38:47+00:00)
Title: add jrebel support

User must export SCALATRA_JREBEL value into environment.
modified paulp sbt script looks for it. If found it checks that it exists and is readable. If it isn't, it prints an error and exits. If it is, it prepends -javaagent:${SCALATRA_JREBEL} to SBT_OPTS.

I didn't consider the case where the user already has a -javaagent argument in their JAVA_OPTS or SBT_OPTS.