您的位置:首页 > 编程语言 > Java开发

eclipse jrebel插件

2016-04-12 16:46 507 查看
修改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/




2.Window » Preferences » JRebel



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



4.设置 Project » Build automatically



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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: