eclipse jrebel插件

修改Java类得eclipse和myeclipse一样不用启动了

http://www.zeroturnaround.com/update-site/


使用教程http://dashen2009.blog.51cto.com/714741/280287


一. http://www.zeroturnaround.com/jrebel/current/
下载jRebe(30天试用,网上也有不少
http://d.namipan.com/d/bbddb2ef69e18ec5240221b46e31677c9b7f2327028a1500)

二.插件安装及配置
1.添加eclipse的jrebel插件
http://www.zeroturnaround.com/update-site/

[img]http://dl.iteye.com/upload/attachment/492313/e9daced7-9b61-3958-b435-a56bd98bb626.jpg[/img]


[img]http://dl.iteye.com/upload/attachment/492334/ab1f5a7d-e819-347c-9af8-779f9735187c.jpg[/img]

2.Window » Preferences » JRebel


[img]http://dl.iteye.com/upload/attachment/492336/8ccbccb2-6d6d-3256-9125-0f3544a73e68.jpg[/img]


3.Java » Debug » Step Filtering
Add Filter button 添加org.zeroturnaround.* 和 com.zeroturnaround.*


[img]http://dl.iteye.com/upload/attachment/492338/af988aaa-c3ee-3924-b875-ccac2ccd68b3.jpg[/img]

4.设置 Project » Build automatically


[img]http://dl.iteye.com/upload/attachment/492341/ea7cf5e3-f6e3-3e8b-addb-a65804e519bb.jpg[/img]

5.双击server,出现tomcate的配置页面。

publishing --->never publish automatically

jreble intergration --->enable jreble agent

切换到modules页,设置项目auto reload为disabled


这里标注一下,以前我在网上看到别人都是说要把这个never publish sutomatically选择的,可是在我本机选择不自动发布后修改jsp页就不能重新加载了,选上Automatically publish when resources change后jsp就可以和以前一样热加载了



OK了,我已经好使了

-noverify
-javaagent:D:\jrebel\3.5\jrebel.jar
-Drebel.dirs=E:\apache-tomcat-5.5.33\wtpwebapps\base\WEB-INF\classes,D:\helios\eclipse\workspace\base\target\classes


-noverify
-javaagent:D:\jrebel\3.5\jrebel.jar
-Drebel.dirs=D:\helios\eclipse\workspace\base\target\classes,D:\helios\eclipse\workspace\base\src\main\webapp
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值