* JRebel tracks Java application development by skipping build and redeploy in the development process.
Step 1: Download Jrebel Zip file from
* Search for version 6.4.4 and download it and extract in a folder.
Step 2:-
Add Jrebel path to the environment
* Open console run this command
sudo -H gedit /etc/environment.
Set Path like this
JREBEL_HOME="/home/jrebel" |
Step 3:-
Add these properties to the local.properties or project.properties.
##################### JRebel ######################
tomcat.javaoptions=-Xverify:none -javaagent:"%JREBEL_HOME%/jrebel.jar=de.hybris.tomcat.HybrisWebappClassLoader60"
##################### JRebel_debug ###################
tomcat.debugjavaoptions=-Xverify:none -javaagent:"%JREBEL_HOME%/jrebel.jar=de.hybris.tomcat.HybrisWebappClassLoader60" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
tomcat.generaloptions=-Xmx4096M -XX:MaxPermSize=1024M -ea
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=${tomcat.jmx.port}
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true
-Djava.endorsed.dirs="%CATALINA_HOME%/lib/endorsed"
-Dcatalina.base=%CATALINA_BASE%
-Dcatalina.home=%CATALINA_HOME%
-Dfile.encoding=UTF-8
-Dlog4j.configuration=log4j_init_tomcat.properties
-Djava.util.logging.config.file=jdk_logging.properties
-Djava.io.tmpdir="${HYBRIS_TEMP_DIR}"
Step 4:-
* Restart the eclipse.
Step 5:-
(through facebook )
* Copy the Activation code after login.
Step 6:-
For license activation
go to eclipse --->help---->jrebel--->Activation----->Click on I have a licence----> Paste the Activation code here.
* Click on Activate rebel.
Step 7:-
Open the terminal set path to the platform
Example :
export JREBEL_HOME=/home/Softwares/jrebel |
Step 8:-
* Do ant clean all
* Start the server . ./hybrisserver.sh debug.
If the above Process Not work Do like this
Step 1:-
Add the below properties to the local.proprties or project.properties
|
Step 2:-Open the terminal from platform folderDo ant deploy
ant clean all. ./hybrisserver.sh debug
If Jrebel installed You will see in the console.
=========================== ALL THE BEST ======================
No comments:
Post a Comment