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/

eclipse jrebel插件


eclipse jrebel插件

2.Window » Preferences » JRebel


eclipse jrebel插件

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

eclipse jrebel插件

4.设置 Project » Build automatically
eclipse jrebel插件

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