Thursday, 28 April 2011

Add JRebel to SBT

This allows for continuous reloading when doing Lift development

set SCRIPT_DIR=%~dp0
java -Dhttp.proxyHost=<proxy-server> -Dhttp.proxyPort=<proxy-port> -Xmx512M -Drebel.license=<path-to-jrebel>/javarebel.lic -noverify -javaagent:<path-to-jrebel>/jrebel.jar -jar "%SCRIPT_DIR%sbt-launch-0.7.5.jar" %*
  • From sbt console run 
    > ~prepare-webapp

No comments:

Post a Comment