Hi,
Where exactly does IntelliJ (currently using IntelliJ IDEA Ultimate 12.1.6) deploy files to a local Tomcat 7 instance (on Ubuntu 12)?
I have a WAR project that uses two JAR's. All projects have Maven pom files. My tomcat instance installed under /usr/share/tomcat7.
I've got a "working" Local Tomcat deployment configuration that uses a ':war exploded' artifact defined with an output path of '/home/user/dev/project/target/project' which exists, but it seems like I have to manually do 'maven install' and 'maven package' commands outside of IntelliJ to get the build files into the output path i.e., doing a build from IntelliJ does not populate the output directory.
However, subsequent changes in IntelliJ seem to get picked up and debug works for a while. Until it doesn't: the code in IntelliJ eventually gets wildly out of synch with what Tomcat is running and I have to "re-initialize" the output path with manual maven commands in a terminal window.
I might be grossly misinterpreting what is going on, so if there is some definitive description of how IntelliJ interacts with Tomcat, I would greatly appreciate someone pointing me to it.
Thanks,
Andy