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>
只适用于方法名类名没变的情况
在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>
只适用于方法名类名没变的情况
本文介绍如何在Resin3.0中通过编辑resin.conf文件实现手动重部署应用的功能。具体操作是在<web-app>内添加<redeploy-mode>manual</redeploy-mode>来指定重部署模式。此方法适用于类名和方法名未发生变化的情况。
3997

被折叠的 条评论
为什么被折叠?



