1.下载后解压。(可在附件下载 3.1)
下载地址:http://www.zeroturnaround.com/jrebel/download/
?
2.在Myeclipse里选择HELP-->Software Updates-->Find and Install
选择“Search for new? features to install”,按“Next”,点“New Remote Sites”
插件路径为:http://www.zeroturnaround.com/update-site/
,输入如图:
? ? ? 一路“Next”进行Javarebel插件安装。
3.重启MyEclipse后,在你部署的中间件里进行如图
? ? ?设置参数如下:-noverify -javaagent:D:\jrebel-3.1.2a\jrebel.jar(“D:\jrebel-3.1.2a\jrebel.jar”是你的包的存放地址)
4. ? 在Myeclipse里Window -> Preferences。然后找到 Java -> Debug -> Step Filtering。确认“Use Step Filters”,“Filter synthetic methods” ,“Step through filters”被选中。在“Step Filters”定义中所有包都需要被选中,然后点击“Add Filter”增加“com.zeroturnaround.*”和“org.zeroturnaround.*”。确保它们也被选中。如图
?
5.右键点击你要进行rebel的项目,选择“生成 rebel.xml”,如图:
选择存放路径,如图:
?
6 ?.之后在console控制台中,看见下列文字,则表明jrebel配置成功.
?
- #############################################################??
- ??
- ?JRebel?3.1.2a?(201008121555)??
- ???with?Enterprise?Add-On!?(see?http://jrebel.com/enterprise)??
- ?(c)?Copyright?ZeroTurnaround?OU,?Estonia,?Tartu.??
- ??
- ?Over?the?last?1?days?JRebel?prevented???
- ?at?least?0?redeploys/restarts?saving?you?about?0?hours.??
- ??
- ?This?product?is?licensed?to?www.cfsoft.com??
- ?for?up?to?9999?developer?seats?on?site.???
- ??
- ?The?following?plugins?are?disabled?at?the?moment:???
- ?*?EclipseLink?Plugin?(set?-Drebel.eclipselink_plugin=true?to?enable)??
- Reloads?EntityManagerFactory?when?configuration?changes??
- ?*?Log4j?plugin?(set?-Drebel.log4j-plugin=true?to?enable)??
- Reloads?full?configuration?of?log4j??
- ?*?Stripes?plugin?1.0.11?(set?-Drebel.stripes_plugin=true?to?enable)??
- Adds?reloading?of?Stripes?ActionBeans.??
- ?*?TopLink?Plugin?(set?-Drebel.toplink_plugin=true?to?enable)??
- Reloads?EntityManagerFactory?when?configuration?changes??
- ?*?TopLink?Spring?Plugin?(set?-Drebel.toplink_spring_plugin=true?to?enable)??
- Reloads?SeesionFactory?when?configuration?changes??
- ?*?WebObjects?Plugin?(set?-Drebel.webobjects_plugin=true?to?enable)??
- WebObjects?JRebel?Plugin??
- ??
- #############################################################??
?
