使用Jrebel进行远程调试

时间:2015-05-28 10:07:16

标签: java maven jrebel

在我的MAVEN_OPTS上,我有这个配置

-Xmx1024m -XX:MaxPermSize=1024m  -javaagent:C:\Users\user\.IntelliJIdea14\config\plugins\jr-ide-idea\lib\jrebel\jrebel.jar

在我的maven模块上,我运行此代码

 mvnDebug install -Prun,csoff -Dmaven.test.skip
Preparing to Execute Maven in Debug Mode
2015-05-28 18:05:15 JRebel:
2015-05-28 18:05:15 JRebel: A newer version '6.2.0' is available for download
2015-05-28 18:05:15 JRebel: from http://zeroturnaround.com/software/jrebel/download/
2015-05-28 18:05:15 JRebel:
2015-05-28 18:05:15 JRebel:
2015-05-28 18:05:15 JRebel: '-noverify' missing, changing/adding/removing constructors will not be enabled!
2015-05-28 18:05:15 JRebel:
Listening for transport dt_socket at address: 8000
2015-05-28 18:05:15 JRebel: Contacting myJRebel server ..
2015-05-28 18:05:17 JRebel:
2015-05-28 18:05:17 JRebel:  #############################################################
2015-05-28 18:05:17 JRebel:
2015-05-28 18:05:17 JRebel:  JRebel Legacy Agent 6.1.3 (201504281742)
2015-05-28 18:05:17 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2015-05-28 18:05:17 JRebel:
2015-05-28 18:05:17 JRebel:  Over the last 2 days JRebel prevented
2015-05-28 18:05:17 JRebel:  at least 6 redeploys/restarts saving you about 0.2 hours.
2015-05-28 18:05:17 JRebel:
2015-05-28 18:05:17 JRebel:  Licensed to John Snow (using myJRebel).
2015-05-28 18:05:17 JRebel:
2015-05-28 18:05:17 JRebel:
2015-05-28 18:05:17 JRebel:  #############################################################
2015-05-28 18:05:17 JRebel:

每当我更改位于另一个模块上的类(这是当前应用程序的依赖项)时,我打开另一个终端并执行mvn compile。但它没有重新加载

我错过了什么吗?

0 个答案:

没有答案