I am looking for a way to use a "variable" in the "Run/Debug Configurations" window of IntelliJ IDEA 7.0.3. What I am trying to accomplish is creation of a config that is easily portable that uses a path that is set up within the project itself. To give an example...
In my project I have a module configured called "MyMod". This contains a standard configuration and has a class that is executable. For this executable class to succeed, an environment variable, say, "mymod.dir.envvar" needs to be set. I want this "mymod.dir.envvar" to be specified and automatically populated in the "VM parameters" area of the of the Run/Debug Configurations for it using something similar to the following:
Does IntelliJ IDEA 7.0.3 provide any default variables like this? What would be handy would be things like idea.project.dir, idea.module.<modulename>.dir, idea.output.dir, etc. etc. etc. While we don't current commit the IWS file created by IDEA (we just put the IPR in the source repository), this would actually make it feasible to do so since some of our environment variables, working directory "standards", etc. are dictated based on some of these directories.