I have 2 questions:
1 - I constantly switching from one module to the other and I use the same run configurations. Each time, I have to modify the parameters send to the JVM to point to my module path. Does INTELLIJ IDEA has some environment variables that I can? i.e. something like $MODULE_PATH... so I can write $MODULE_PATH/my_resources/foobar.xml.
2 - Is it possible to ask INTELLIJ IDEA to run a script before it start the application described in it run configuration? I want to remove some data file to start my testing from scratch and for the moment I have to remove them manually, which is error prone.
If it is of any use, I'm running Mac OS X with Intellij 5.1.2.
Thank you for your help.