# Path variable resolver

###### Identifier:

org.eclipse.core.resources.variableResolvers

###### Since:

3.6

###### Description:

A variable resolver extends the default list of project path variables that can be used to specify the relative location of a linked resource.

###### Configuration Markup:

<!ELEMENT extension (variableResolver+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT variableResolver EMPTY>

<!ATTLIST variableResolver

class CDATA #IMPLIED

value CDATA #IMPLIED

variable CDATA #REQUIRED>

- class - A class dynamically providing the value of the variable.
- value - The value of the variable, either as refering another variable or an absolute path.
- variable - The prefix for supported variables. We could use wildcards in the future.

###### Examples:

    <extension point="org.eclipse.core.resources.variableResolvers">
     <variableResolver class="org.eclipse.core.internal.resources.projectVariables.EclipseHomeProjectVariable" name="ECLIPSE_HOME">
     </variableResolver>
    </extension>

###### API Information:

The value of the class attribute must represent a subclass of `org.eclipse.core.resources.PathVariableResolver`.

###### Supplied Implementation:

The `org.eclipse.core.resources` bundle provides resolvers for the following variables: `ECLIPSE_HOME`, `PROJECT_LOC`, `WORKSPACE_LOC`, and `PARENT`

Copyright (c) 2008, 2010 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0