In my Tomcat run config xml I have the following
<log_file path="$PROJECT_DIR$/../../../.IntelliJIdea90/system/tomcat/Unnamed_My-WebApplicationfe3d8679/logs/localhost*" checked="true" skipped="true" show_all="false" alias="Tomcat Log" />
The problem with that is that it is a relative path to my home directory.
This isn't much use when checking in to version control as other people will have the project in different relative paths to their home directories.
I think IDEA automatically updates it, but it means that the Tomcat run config is always marked as changed.
Is there a $HOME variable or some such we can use instead?
The startup config also has full paths in it
<option name="USE_DEFAULT" value="true" />
<option name="SCRIPT" value="C:/apache-tomcat-6.0.24/bin/catalina.bat" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value=" run" />
What happens when the next user has a different tomcat installation directory?
Can we use $CATALINA_HOME or some other variable so that IDEA uses the registered Tomcat directory (settings - application servers - Tomcat server)?