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