I would like to have an additional classpath directory in tomcat 7, like what can be done by adding ${catalina.home}/mydir
in catalina.properties, but specific to an application (war).
I would also like this setting to be outside the war (I found this SO question, but the configuration is within the war).
I my case, it is to have two environments (say integration and QA) on the same container, with different configurations. I wish to keep the artifacts environment agnostic, so not changing the path to the configuration files (properties, logback, ...).
Can this be done ? How ?
Thank you.