Skip to Content


Scope: All Project Types


The linkedResourceVariable datatype is an Ant datatype that allows you to specify an environment specific path for a linked resource. Within the eclipse IDE these variables are defined in the preferences dialog (Window -> Preferences..., General -> Workspace -> Linked Resources).


The linkedResourceVariable type provides the following arguments:

Argument Description Required
name The name of the linked resource path variable as specified in the eclipse preferences. yes
location The location of the linked resource. yes

Usage examples

<ant4eclipse:linkedResourceVariable name="myLinkedResourcesDirectory" location="D:/location" />