I am working on a Hybris project and it is very time consuming to wait 350 - 550 sec for a single Hybris server startup, for e
So I have been using JRebel along with Hybris since past one year.
Although I have not been able to configure this with my IDE (I am sure there is a simple way), the usage is pretty straightforward.
After I have modified any java file or spring configuration, in a terminal different from the one I have my server running in, I navigate to the extension in which I have modified the files and then do an ant build
. The modified files are picked up by the running server (you can see the new files/configuration being picked up in the server console).
Regarding the license, I use myJRebel license from https://my.jrebel.com/ which requires a social media login to obtain the license key.
Steps to Setup -
Add following to your local.properties (modify accordingly)
tomcat.debugjavaoptions=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -Xverify:none -agentpath:c:/Monil/Tools/jrebel/lib/jrebel64.dll -Xbootclasspath/p:${HYBRIS_TEMP_DIR}/hybris/rebelboot.jar
Please note that the ${HYBRIS_TEMP_DIR}/hybris/rebelboot.jar
jar will automatically be added to hybris temp directly when you do a ant all and start your server.