Recently I switched from eclipse to Intellij. I'm running a war on tomcat, and I need to add a external classpath (with property files) to the tomcat launch configuration.
In Eclipse it's available in view servers - Tomcat (2click) -> open launch configuration -> classpath tab -> select user entries -> advanced -> Add Folder
In Intellij I tried Menu Run -> edit configuration -> select tc instance -> Configure -> add (+) classes But when I add the directory with property files the war still crashes during startup with the message that it can't find a property file.
The file is present and tomcat/eclipse starts successfully. In Tomcat I believe the path can be modified with setenv.bat. What can be wrong?
Our final target is Websphere where this kind of environment dependent properties are loaded from a specific directory. So maven profiles is an option but is not useful in the final deliverable.

