Jrebel官网参考地址:https://manuals.zeroturnaround.com/jrebel/standalone/hybris.html

Wiki Hybris参考地址:https://help.hybris.com/6.2.0/hcd/8be5ab06866910149c83e0bd4a187fd8.html

环境:windows,IntelliJ IDEA

步骤:

1.    安装jrebel

方法一:IDEA在线安装Jrebel插件(推荐)

FileàSettingsàPluginsà收索:JRebel for IntelliJ

方法二:下载独立包http://dl.zeroturnaround.com/jrebel-stable-nosetup.zip

2.    激活

在官网https://my.jrebel.com获取序列号。在IDEA中激活,Helpàjrebelàactivation 贴入序列号,点击激活

3.    在../hybris/bin/platform/project.properties中配置

tomcat.javaoptions=-agentpath:"C:/Users/zfl/.IntelliJIdea2016.3/config/plugins/jr-ide-idea/lib/jrebel6/lib/jrebel64.dll"

tomcat.debugjavaoptions=-agentpath:"C:/Users/zfl/.IntelliJIdea2016.3/config/plugins/jr-ide-idea/lib/jrebel6/lib/jrebel64.dll" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n

*****C:/Users/zfl/.IntelliJIdea2016.3/config/plugins更换成自己插件安装的目录*****

4.    在hybris工程目录下(?/hybris/bin/ext-backoffice/backoffice/)打开buildcallbacks.xml(272行),修改一下includes的名字,任意都可以。(因为打开backoffice以后,如果再ant build时,这个jar包(webfragmentCore_XSSFilter.jar)将无法删除,会被占用。导致build失败。)

5.    使用

打开一个命令行,启动服务(ant clean all && Hybrisserver.bat debug)

修改了代码以后,另起一个命令行,原来的不关,运行 ant build

最新文章

  1. Codeforces Round #385 (Div. 2) A,B,C 暴力,模拟,并查集
  2. Asp.Net - 8.多线程
  3. OSIC Performance Bot
  4. 重构第27天 去除上帝类(Remove God Classes)
  5. LPEG
  6. 基于jQuery带图标的多级下拉菜单
  7. JasperReports+iReport在eclipse中的使用
  8. ZOJ 3822 Domination 期望dp
  9. 动态规划——E (LIS())最长上升子序列
  10. arcgis api for js入门开发系列十一地图统计图
  11. 用Redis作为缓存服务器,加快数据库操作速度
  12. 【SqlServer系列】JSON数据
  13. 特殊权限chattr的用法
  14. iTOP-4418开发板Android 5.1/4.4丨Linux + Qt5.7丨Ubuntu12.04系统
  15. Beta 冲刺(7/7)
  16. 转:OAuth 2.0 介绍
  17. 函数的if--while流程控制
  18. “64位调试操作花费的时间比预期要长",无法运行调试解决办法
  19. ZOJ 4100 浙江省第16届大学生程序设计竞赛 A题 Vertices in the Pocket 线段树+并查集
  20. snprintf()解析

热门文章

  1. ST-1之乱码bug
  2. JS中常用的几种时间格式处理-【笔记整理】
  3. 初识Celery
  4. 基于webpack2.x的vue2.x的多页面站点
  5. synchronized 修饰在 static方法和非static方法的区别
  6. jQuery 操作属性
  7. JS执行事件
  8. PHP 工厂模式 实例讲解
  9. PHP中array_merge函数与array+array的区别
  10. Greys学习笔记(未完待续)