Why JRebel?
- Improves Productivity.
- No need to restart hybris frequently, which saves a lot of time to see development changes.
Steps to Configure JRebel
- Download JRebel from this Link
- Extract the zip file to some location, c:\jrebel
- Set the JREBEL_HOME environment variable to the directory of JRebel install. In this case, it would be c:\jrebel
- Install the jrebel plugin for your IDE. This plugin will allow you to configure the required hybris extensions.
- Eclipse: JRebel Plugin
- Sample screenshot of Eclipse:
- IntelliJ IDEA: JRebel Plugin
- Eclipse: JRebel Plugin
- Modifications to local.properties: add the following property to your local.properties tomcat.debugjavaoptions:
-javaagent:”%JREBEL_HOME%/jrebel.jar” - Start your hybris server with hybrisserver.bat debug
- Any class update (not model updates) to hybris should be done with ant build, NOT ant all
If you are using JRebel with Hybris then the following video will help you increase even more the development speed https://www.youtube.com/watch?v=NHtMg8vZfdI&feature=youtu.be
LikeLike