xinjiang 发表于 2017-2-20 06:58:21

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>
只适用于方法名类名没变的情况
页: [1]
查看完整版本: resin 热部署