How does IntelliJ Ultimate deploy webapps to Tomcat?

已回答

How does IntelliJ Ultimate deploy web apps to Tomcat?

In particular, how does it tell Tomcat which files to reload upon change? (I know where the option in IntelliJ is, I want to find out what it does under the hood, e.g. use startup params, xml/config file changes etc., as our frontend guys don't use IntelliJ, but I want to make sure they use a similar, if not the same, Tomcat setup...) 

0

Tomcat is started with the custom CATALINA_BASE directory where IntelliJ IDEA places <context>.xml file that points to the artifact output location via docBase attribute. When the files in this location are updated, Tomcat reloads them.

1

请先登录再写评论。