一、jetty部署配置文件apps.xml,经过多次摸索,记录如下,方便自己记忆,也为有需要的人提供借鉴:
1.jetty自动解压xxxxx.war包部署配置:
<Set name="contextPath">/</Set>
<!-- war包的绝对路径 -->
<Set name="war">/tools/aaa/bbb/xxxxx.war</Set>
2.jetty手动解压xxxxx.war包部署配置
<Set name="contextPath">/</Set>
<!-- 解压war包后的xxxx文件的绝对路径 -->
<Set name="war">/tools/xxx/xxxx/xxxxx</Set>
其它配置都一样
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Optional context configuration -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<Set name="extractWAR">true</Set>
<Set name="copyWebDir">false</Set>
二、jetty的启动日