jreble配置


最来开发项目,修改JAVA后总是要启动Tomcat,特别烦人,还浪费时间。今天介绍一个插件Jrebel,可以修改JAVA代码后
不用启动JVM
安装步骤
1:通过http://www.zeroturnaround.com/update-site 安装jrebel
  一般勾中JReble Eclipse Debugger Integration,JReble Eclipse Integration,JReble Eclipse Project Nature
  JReble WTP Intefration就可以了,这几个啥意思,我就不讲了,他们都知道.
2:将运行时环境指向将下载好的已经破解的jrebel.jar(jrebel.jar和bin/jrebel-config.jar放在同一目录下)
  window-Preferences-Jrebel(中指定),一定要设计下面的time,一开始我没设置,就没有起效.
3:window-perferences-Java-step Filtering.选择所有,勾中Filter synthetic methods(requires VM support)
4:勾中Project-Build Automatically。如果您在使用Maven
  <plugin>
   <groupId>org.zeroturnaround</groupId>
   <artifactId>jrebel-maven-plugin</artifactId>
   <executions>
    <execution>
      <id>generate-rebel-xml</id>
      <phase>process-resources</phase>
      <goals>
        <goal>generate</goal>
      </goals>
    </execution>
   </executions>
  </plugin>

5:项目右键-jreble-最后一人生成jrebler.xml

6:

配置Web容器.就以大多用的Tomcat为例。勾中Publishing-第一个(Never publish automatically)

在勾中Jreble Integration 所有。Modules-项目-Edit,去掉勾中的.


注意事项:对配置文件有时不起作用


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值