Jetty结合Jrebel实现的项目热部署


 

1、             将“jrebel”文件夹拷贝至项目的主文件夹中,下载地址http://zeroturnaround.com/jrebel/current/


 

 

2、             修改start_jetty.bat启动文件


3、             在项目的Web文件夹中增加一个rebel.xml文件,用于配置classes路径



 

 View Code

 
<? xml version="1.0" encoding="UTF-8" ?>
< application >
< classpath >
< dir  name ="E:\workspace\trunk\web\WEB-INF\classes" />
</ classpath >
< web >
< link  target ="" >
< dir  name ="E:\workspace\trunk\web" />
</ link >
</ web >
</ application

 

 

转载于:https://www.cnblogs.com/yimu/archive/2011/12/19/WMHZYQD.html