Community
Participate
Working Groups
I20030820 I wanted to convert some our test launchers to use launch variables. I defined the variables in the Debug preferences but then what? I couldn't find how they could be used in the actual launch configuration.
Currently you can use them in the external tools framework. Support has not be added for Java launch configurations yet. see bug 10035 and bug 36930 and bug 37241. You can set attributes on the launch configuration and if you are using your own launch configuration delegate, make use of the LaunchVariableUtil class to create and then expand the variables. Take a look at the AntLaunchDelegate and the property file resolution for an example (AntUtil.getPropertyFiles (ILaunchConfiguration)). I believe this is basically a dup of bug 10035? What are you trying to achieve with launch variables?
*** This bug has been marked as a duplicate of 10035 ***