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...) 

1 comment
Comment actions Permalink

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.


Please sign in to leave a comment.