How Apache Ant deploys .war file to Tomcat

前端 未结 4 1927
遇见更好的自我
遇见更好的自我 2021-01-05 09:08

I\'m using Apache Ant 1.8 to deploy a web application into a local Tomcat server, and the build.xml file (below) produces the desired effect when I run \'ant deploy\' at the

4条回答
  •  心在旅途
    2021-01-05 09:58

    Probably, you're first copying all your files in your dest dir an then making war file, you should instead copy your files to some temp directory, create war file, copy it to dest dir, remove temp directory.

提交回复
热议问题