Permalink
Browse files

add back java rebel to sbt.

  • Loading branch information...
1 parent 3990219 commit 79aaef9bcefe6d27dc849bfb462806eeea882d87 @marmbrus marmbrus committed Nov 13, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/sbt
View
@@ -1,3 +1,8 @@
#!/bin/bash
-SCADS_CONFIG=config/test.conf java -XX:MaxGCPauseMillis=100 -XX:+UseConcMarkSweepGC -noverify -XX:ReservedCodeCacheSize=64M -noverify -Djava.library.path=/usr/local/mesos/lib/java -Xss2M -Xmx4G -XX:MaxPermSize=3G -jar `dirname $0`/sbt-launch-0.11.0-SNAPSHOT.jar "$@"
+if [ -e $HOME/.sbt/jrebel.jar ]
+then
+ export JAVA_REBEL=-javaagent:$HOME/.sbt/jrebel.jar
+fi
+
+SCADS_CONFIG=config/test.conf java $JAVA_REBEL -XX:MaxGCPauseMillis=100 -XX:+UseConcMarkSweepGC -noverify -XX:ReservedCodeCacheSize=64M -noverify -Djava.library.path=/usr/local/mesos/lib/java -Xss2M -Xmx4G -XX:MaxPermSize=3G -jar `dirname $0`/sbt-launch-0.11.0-SNAPSHOT.jar "$@"

0 comments on commit 79aaef9

Please sign in to comment.