Tomcat 配置 project war ,无需手动发布
在这个文件(tomcat-5.5.28\conf\server.xml )配置如下:
<?xml version="1.0" encoding="UTF-8"?>
.....
.....
<Context path="/cli" docBase="D:/workspace/cli/dist/cli" reloadable="true" />
<!-- <Context path="/ads" docBase="D:/workspace/trunk/src/main/webapp" reloadable="true" />
<Context path="/tnlocal" docBase="D:/workspace/tnlocal/web" reloadable="true" /> -->
</Host>
</Engine>
</Service>
</Server>