Reference / GAS Predefined resources |
This topic describes the syntax used in the GAS configuration file for predefined resources (i.e. variables). .
While most resources are defined in the GAS configuration file, predefined resources can not be explicitly defined as they are automatically replaced depending on the path of the application you are executing. Therefore, in order that they are available for use, they are predefined as resources using an XML tagging mechanism, which is described in this topic.
$(resource-name)
<tag gwc:tpl-attribute="tpl-value" [...]>...</tag>
For example, we can define the path to an application's web component directory as follows:
<WEB_COMPONENT_DIRECTORY>$(application.path)/webcomponents</WEB_COMPONENT_DIRECTORY>