下载地址:http://www.zeroturnaround.com/jrebel/download/ 下载下来的是一个Zip压缩包,打开之后会发现一个jrebel.jar,这就是其最重要的运行包了。其他都是一些文档和插件。
PS. rebel出了免费社区版,参见:
http://zeroturnaround.com/blog/free-version-of-jrebel-social/
一、安装包准备
1. Jrebel.jar 核心JAR包,http://zeroturnaround.com/jrebel/prev-releases/ 上面进行下载。
安装 JRebel Eclipse插件进入 Help » Install New Software... 并且输入下面的URL :http://www.zeroturnaround.com/update-site/
2. update-site.zip jrebel Eclipse插件http://www.zeroturnaround.com/update-site/update-site.zip
开放链接:http://pan.baidu.com/s/1gd9xkEv
2015-03-21新增内容:mvn jrebel 下调试找不到源码
目前我的做法是使用Remote Debug方式,下面我来说如何配置:
1、新建Maven Build->JRE-VM agruments里填写以下内容,注意javaagent路径需要和本地路径一致,红色部分就是配置开启dwp远程配置。
-noverify
-javaagent:/Users/chababa/Desktop/dev/applications/jrebel/jrebel.jar
-Xbootclasspath/p:jrebel-bootstrap.jar;jrebel.jar
-Drebel.generate.show=true
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.cxf_plugin=true
-Drebel.logback_plugin=true
-Drebel.mybatis_plugin=true
-javaagent:/Users/chababa/Desktop/dev/applications/jrebel/jrebel.jar
-Xbootclasspath/p:jrebel-bootstrap.jar;jrebel.jar
-Drebel.generate.show=true
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.cxf_plugin=true
-Drebel.logback_plugin=true
-Drebel.mybatis_plugin=true