I have a webapp which is deployed to a local Tomcat (6.0.x), located in R:\programs\apache-tomcat-6.0.36.
I want IntelliJ IDEA to deploy the webapp to the \webapps subdirectory of the aforementioned one instead of the default
C:\Documents and Settings\bdusausoy\.IntelliJIdea12\system\tomcat\Unnamed_Coordleg
When Tomcat is launched, it prints its environment variables :
Using CATALINA_BASE: "C:\Documents and Settings\bdusausoy\.IntelliJIdea12\system\tomcat\Unnamed_Coordleg"
Using CATALINA_HOME: "R:\bdusausoy\programs\apache-tomcat-6.0.36"
Using CATALINA_TMPDIR: "R:\bdusausoy\programs\apache-tomcat-6.0.36\temp"
So basically I want IntelliJ IDEA to deploy to
How can I achieve this ?