eclipse - Where do string substition Variables get saved? -
i've searched lot, couldn't find answer.
i'm searching exact location of config file variables can add in eclipse @ "preferences > run/debug > string substituion".
my idea automatically check several variables need simulator, , write them directly "string substitution"file.
theses variables accessed using istringvariablemanager
interface:
istringvariablemanager manager = variablesplugin.getdefault().getstringvariablemanager();
the variables on run/debug preferences 'value variables' create with:
ivaluevariable vv = manager.newvaluevariable("name", "description", "value");
you must add created variables manager make them permanent:
manager.addvariables(variables array);
the api not specify these values stored. appear stored in org.eclipse.core.variables.prefs
file in workspace .metadata/.plugins/org.eclipse.core.runtime/.settings
directory. changing file directly not update list in variables manager.
Comments
Post a Comment