java - How can I access variable resolving of eclipse run configurations for an eclipse plugin? -
I want to be able to expand the Sysdeo Tomcat plugin such that you can specify in run configuration for Java applications Are, e.g. $ {workspace_loc} . I have tried to use it, but there is no content in the resulting array: Using this does not give me the desired variables: Next I search for the code that is actually substituting the variable in the string. Use . You get from the manager: To process variables in string usage: You can also use the
resourcesPlugin.getWorkspace (). GetPathVariableManager () getPathVariableNames () .;
JavaCore.getClasspathVariableNames ();
IStringVariableManager to access variables such as $ {workspace_loc}
IStringVariableManager manager = VariablesPlugin.getDefault (). GetStringVariableManager ();
string newString = manager.performStringSubstitution (string);
org.eclipse.core.variables.dynamicVariables and
org.eclipse.core.variables.valueVariables extensions Points to add new variables
Comments
Post a Comment