当前位置: 代码迷 >> Eclipse >> JRebel配备Myeclipse6.5 不必每次重启服务器
  详细解决方案

JRebel配备Myeclipse6.5 不必每次重启服务器

热度:62   发布时间:2016-04-23 02:26:21.0
JRebel配置Myeclipse6.5 不必每次重启服务器

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配置成功.

?

Java代码
  1. #############################################################??
  2. ??
  3. ?JRebel?3.1.2a?(201008121555)??
  4. ???with?Enterprise?Add-On!?(see?http://jrebel.com/enterprise)??
  5. ?(c)?Copyright?ZeroTurnaround?OU,?Estonia,?Tartu.??
  6. ??
  7. ?Over?the?last?1?days?JRebel?prevented???
  8. ?at?least?0?redeploys/restarts?saving?you?about?0?hours.??
  9. ??
  10. ?This?product?is?licensed?to?www.cfsoft.com??
  11. ?for?up?to?9999?developer?seats?on?site.???
  12. ??
  13. ?The?following?plugins?are?disabled?at?the?moment:???
  14. ?*?EclipseLink?Plugin?(set?-Drebel.eclipselink_plugin=true?to?enable)??
  15. Reloads?EntityManagerFactory?when?configuration?changes??
  16. ?*?Log4j?plugin?(set?-Drebel.log4j-plugin=true?to?enable)??
  17. Reloads?full?configuration?of?log4j??
  18. ?*?Stripes?plugin?1.0.11?(set?-Drebel.stripes_plugin=true?to?enable)??
  19. Adds?reloading?of?Stripes?ActionBeans.??
  20. ?*?TopLink?Plugin?(set?-Drebel.toplink_plugin=true?to?enable)??
  21. Reloads?EntityManagerFactory?when?configuration?changes??
  22. ?*?TopLink?Spring?Plugin?(set?-Drebel.toplink_spring_plugin=true?to?enable)??
  23. Reloads?SeesionFactory?when?configuration?changes??
  24. ?*?WebObjects?Plugin?(set?-Drebel.webobjects_plugin=true?to?enable)??
  25. WebObjects?JRebel?Plugin??
  26. ??
  27. #############################################################??

?

1 楼 yangjun6222010 2012-04-16  
  学习了