intellij idea 热部署 spring jvm, JRebel
springloaded
intellij idea 热部署 spring jvm 版 http://my.oschina.net/u/556878/blog/416563
配置 intellij idea tomcat 加入下面这个参数, 或者maven执行的时候增加VM Options, 对应jar 到 mvnrepo 下载 。
-javaagent:/mnt/D/databaseDrivers/springloaded-1.2.3.RELEASE.jar -noverify
注意: 热部署之后无法调试, 除非重启.
JRebel
参考http://panyongzheng.iteye.com/blog/1888423
JRebel MAC IDEA热加载配置http://chessman-126-com.iteye.com/blog/2163514
Jrebel 5.5.2+IDEA13 热部署配置 http://lavasoft.blog.51cto.com/62575/1399707
JRebel 6.1.0 for Intellij IDEA 14.0破解 http://blog.csdn.net/younger_cheung/article/details/44174661
JRebel配置
在非webapp工程的main/resources下面增加rebel.xml
在webapp工程的main/resources下面增加rebel.xml
大致配置如下, 版本:JRebel6.1.0
将jrebel_6.1.0-agent-crack.zip进行解压,将lib目录下的jrebel.jar和jrebel.lic放置到指定的.IntelliJIdea14目录下
config\plugins\jr-ide-idea\lib\jrebel,
config\plugins\jr-ide-idea\lib\jrebel\lib,
config\plugins\jr-ide-idea\lib\jrebel6
目录,所有包含jrebel.jar文件的目录,确认覆盖,即可完成安装!
打开tomcat配置,配置JVM运行参数, 或者maven执行的时候增加VM Options:
-noverify -javaagent:/mnt/E/Fedora/tools/IntelliJIdea14_config/config/plugins/jr-ide-idea/lib/jrebel/lib/jrebel.jar
-Drebel.disable_update=true
-DJAVA_OPTS=-Xms512m
-Xmx512m
-XX:MaxNewSize=256m
-XX:MaxPermSize=256m