Intellij IDEA 本地安装jrebel插件
2017-01-09 00:00
549 查看
jrebel(http://zeroturnaround.com/)的作用就是当你的代码改变时,你不需要重启服务,节省了时间。代码的改变有很多种,比如增加class、在class中增加方法等等。下面介绍一下 Java 开发利器 intellij idea 怎样安装 jrebel。
点击对话框底部中间的按钮 Browse repositories...,在弹出的对话框中可以搜索你需要的插件。我们搜索 jrebel。
搜索后,会显示两个 jrebel 的插件。我们安装 JRebel for Intellij,选中此插件,对话框右边有个绿色的 install plugin 按钮。点击安装即可。 安装完成之后,需要重启 intellij idea。
安装好后,在 intellij idea 的右上角,有两个 jrebel 的图标。一个是正常启动模式,一个是 debug 模式。
。对于我等屌丝的话,只能默默破解了。我现在jrebel使用的版本是6.2.5。点击这里,下载jrebel破解版。解压破解文件后,将
jrebel.lic 复制到 C:\Users\你的用户名\.jrebel 下
jrebel.jar 复制到 C:\Users\你的用户名\.IntelliJIdea14\config\plugins\jr-ide-idea\lib\jrebel 下
打开 intellij idea(如果破解的时候,你的 intellij idea 是打开的,则需要重启),点击 File - Settings(ctrl + alt + s),点击 弹出对话框的 JRebel。右边的 License 显示 VALID,表示破解成功。恭喜!
设置 tomcat 选项,点击 intellij idea 右上角。
在 弹出的对话框 中,修改 红色框的内容,保存即可。
点击
中的一个,启动服务吧。
服务启动后,当你修改一个class 后,控制台 显示 JRebel: Reloading class ...,说明 jrebel 已经发挥作用了。
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
2015-10-20 更新
如果修改了 class,jrebel 没有自动部署。那就设置一下 代码编译 后的输出目录。
1.打开 项目结构(ctrl + shfit + alt + s) 对话框,修改 class 的输出目录到 web 的 classes 下。
2.生成 jrebel 配置文件。在项目上右键 - jrebel - jrebel.xml。
3.重启服务即可。
1.安装 jrebel 插件
在 intellij idea 中,打开 File - Settings(ctrl + alt + s),点击弹出的对话框中的 plugins。点击对话框底部中间的按钮 Browse repositories...,在弹出的对话框中可以搜索你需要的插件。我们搜索 jrebel。
搜索后,会显示两个 jrebel 的插件。我们安装 JRebel for Intellij,选中此插件,对话框右边有个绿色的 install plugin 按钮。点击安装即可。 安装完成之后,需要重启 intellij idea。
安装好后,在 intellij idea 的右上角,有两个 jrebel 的图标。一个是正常启动模式,一个是 debug 模式。
2.破解 jrebel
jrebel唯一不好的地方就是收费的。对于我等屌丝的话,只能默默破解了。我现在jrebel使用的版本是6.2.5。点击这里,下载jrebel破解版。解压破解文件后,将
jrebel.lic 复制到 C:\Users\你的用户名\.jrebel 下
jrebel.jar 复制到 C:\Users\你的用户名\.IntelliJIdea14\config\plugins\jr-ide-idea\lib\jrebel 下
打开 intellij idea(如果破解的时候,你的 intellij idea 是打开的,则需要重启),点击 File - Settings(ctrl + alt + s),点击 弹出对话框的 JRebel。右边的 License 显示 VALID,表示破解成功。恭喜!
3.使用 JRebel
打开 intellij idea 左下角的 JRebel 选项卡,这里可以看到你的项目。如果你的项目想使用jrebel,勾选项目下的复选框即可。设置 tomcat 选项,点击 intellij idea 右上角。
在 弹出的对话框 中,修改 红色框的内容,保存即可。
点击
中的一个,启动服务吧。
服务启动后,当你修改一个class 后,控制台 显示 JRebel: Reloading class ...,说明 jrebel 已经发挥作用了。
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
2015-10-20 更新
如果修改了 class,jrebel 没有自动部署。那就设置一下 代码编译 后的输出目录。
1.打开 项目结构(ctrl + shfit + alt + s) 对话框,修改 class 的输出目录到 web 的 classes 下。
2.生成 jrebel 配置文件。在项目上右键 - jrebel - jrebel.xml。
3.重启服务即可。
相关文章推荐
- 最新版Intellij IDEA插件JRebel 7.0.7安装与激活教程。
- IntelliJ IDEA使用教程八 热部署插件 JRebel 安装激活及使用
- IntelliJ IDEA - 热部署插件JRebel 安装使用教程
- Intellij IDEA findbugs 插件 下载、安装、使用详解(2017年实测mac和windows都可用)
- 打造更好的Lift 开发环境:Liftweb + SBT + Intellij idea + sbt idea 插件 + JRebel + JRebel idea 插件 + livereload
- IntelliJ IDEA使用教程九 Mybatis插件 安装激活及使用
- 如何在IDEA中安装Jrebel插件
- sbt intellij idea插件 安装及使用 sbt gen-idea命令
- IDEA插件JRebel安装配置与破解激活详细教程
- IntelliJ IDEA使用教程九 Mybatis插件 安装激活及使用
- Scala学习(1)IntelliJ Idea安装Scala编译插件,基于Maven
- 在idea 14中安装jrebel 6.0.2破解版插件
- intellij下安装jrebel插件
- Intellij IDEA Mybatis plugin插件破解安装
- idea安装jrebel插件实现远程热部署
- Intellij IDEA下载、注册、安装、插件安装(scala插件与SBT插件安装)和创建scala项目
- IntelliJ安装JRebel热部署插件
- 33.IntelliJ IDEA 的 Java 热部署插件 JRebel 安装及使用
- IDEA jetty - 热部署插件JRebel 安装使用教程
- IntelliJ IDEA 安装jrebel插件后,将C:\Users\用户名\.jrebel文件夹替换为附件,重启idea后,就能使用了,亲测可用