标签:agent pts struts csdn san let 效率 port down
以下我们一起来看看它究竟怎么用吧。
开发阶段:
JRebel支持Eclipse、MyEclipse、IntelliJ、NetBeans等众多IDE,我们以Eclipse为例。在Eclipse中想要使用JRebel。我们须要安装一个插件,能够在Eclipse Marketplace中搜索安装,也能够使用install new software通过URL来安装。url为:http://www.zeroturnaround.com/update-site/。
详细怎么安装插件就不赘述了。不知道的自己百度一下。
安装完插件,Eclipse重新启动,然后依照以下的步骤配置就可以:
Window——>Preferences——>JRebel
环境变量名: JAVA_OPTS 环境变量值: -javaagent:%REBEL_HOME%\jrebel.jar -Drebel.hibernate_plugin=true -Drebel.spring_plugin=true -Drebel.struts2_plugin=true 环境变量名: REBEL_HOME 环境变量值: D:\jrebel-5.6.3-crack(这个路径就是你JRebel的解压文件夹)
2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: ############################################################# 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: JRebel 5.6.3 (201409050929) 2014-10-08 21:22:08 JRebel: (c) Copyright ZeroTurnaround OU, Estonia, Tartu. 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: Over the last 2 days JRebel prevented 2014-10-08 21:22:08 JRebel: at least 43 redeploys/restarts saving you about 1.7 hours. 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: This product is licensed to anonymous-user 2014-10-08 21:22:08 JRebel: for unlimited number of developer seats on site. 2014-10-08 21:22:08 JRebel: ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ###### 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: The following plugins are disabled at the moment: 2014-10-08 21:22:08 JRebel: * Axis2 WAS plugin (set -Drebel.axis2_was_plugin=true to enable) 2014-10-08 21:22:08 JRebel: 2014-10-08 21:22:08 JRebel: ############################################################# 2014-10-08 21:22:08 JRebel:
@echo off set JAVA_OPTS=-javaagent:[path/to/]jrebel.jar %JAVA_OPTS% call "%~dp0\catalina.bat" %*
好了,这样就都配置好了,快快感受一下吧!
附JRebel破解版下载地址:
菜鸟教程之工具使用(四)——借助JRebel使Tomcat支持热部署
标签:agent pts struts csdn san let 效率 port down
原文地址:http://www.cnblogs.com/lytwajue/p/6719225.html