Add JRebel to SBT
This allows for continuous reloading when doing Lift development
- Download JRebel (jar installer)
http://www.zeroturnaround.com/jrebel/current/ - Get free JRebel license for Scala Developers
http://sales.zeroturnaround.com/ - After installation add this to your sbt batch and VM parameters in IntelliJ IDEA (File/Settings/SBT)
set SCRIPT_DIR=%~dp0java -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
Comments
Post a Comment