`
黑暗浪子
  • 浏览: 501906 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Jrebel3.1.2a+eclipse3.6使用配置

阅读更多

我的确很懒,8月中旬就配置好了,直到现在才开始写这篇文章说说配置,其实网上已经有很多人写过相同主题的东东了。但是这是我自己的配置,自己记一笔,以后万一机器重装系统什么的,也可以按图索骥来一遍,很快的配置完成。

 

第一步:

将附件中3.1.2a解压到本地。然后将附件中jrebel.jar文件拷贝到解压路径覆盖原先的jrebel.jar.

 

第二步:

安装eclipse的jrebel插件。插件路径为:http://www.zeroturnaround.com/update-site/。

安装完成后在window-->preferences中的jrebel中进行设置,如下图:

 

 

第三步:

Windows--> show view--> other--> server--> servers.双击你的Server配置项

点击“ Open launch configuration”。如下图:

 

在VM arguments选框中加入参数:
-noverify -javaagent:D:\jrebel-3.1.2a\jrebel.jar
-Drebel.dirs=E:\workspace\fileManager1\WebRoot\WEB-INF\classes
-Drebel.spring_plugin=true
-Drebel.struts2-plugin=true

如下图:

然后点“OK”后,选取某个项目,启动server,如下图:

之后在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

#############################################################



JRebel: Directory 'E:\workspace\fileManager1\WebRoot\WEB-INF\classes' will be monitored for class changes.
 

 

  • 大小: 16.1 KB
  • 大小: 7.9 KB
  • 大小: 28.8 KB
  • 大小: 16.6 KB
3
0
分享到:
评论
2 楼 黑暗浪子 2010-12-07  
sogo1986 写道
直接myeclipse好了

也一样要配置的,具体配置方法,我另外篇文章说过
1 楼 sogo1986 2010-12-06  
直接myeclipse好了

相关推荐

Global site tag (gtag.js) - Google Analytics