读书人

resin 暖部署

发布时间: 2012-10-29 10:03:53 作者: rapoo

resin 热部署
resin3.0中
在resin的配置文件resin.conf中的<web-app>内添加<redeploy-mode>manual</redeploy-mode>,如下:

<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<redeploy-mode>manual</redeploy-mode>
<web-app id="/" document-directory="/home/file/test"/>
</host>
只适用于方法名类名没变的情况

读书人网 >其他相关

热点推荐