The RESOURCE_LIST element

This element contains all RESOURCE elements, organized by operating system.

The RESOURCE_LIST element of the Genero Application Server configuration file allows you to define RESOURCE elements, which can then be referenced in your configuration files and template files. A resource is a type of variable. By defining and using resources, when the value of the resource needs updating, it becomes possible to modify the resource in one location, and the new value is carried through the various configuration and template files that reference the resource.

A resource is defined as platform-independent or platform-dependent, based on the section (parent element) in which the resource is defined.

Syntax

<RESOURCE_LIST>
  <PLATFORM_INDEPENDENT> [ resource ] [...] </PLATFORM_INDEPENDENT>
  <WNT> resource [...] </WNT>
  <UNX> resource [...] </UNX>
</RESOURCE_LIST>

Child elements

A RESOURCE_LIST element contains the following child elements:

Example

<RESOURCE_LIST>
  <PLATFORM_INDEPENDENT>
    <RESOURCE Id="res.fglgui" Source="INTERNAL">1</RESOURCE>
    ...
  </PLATFORM_INDEPENDENT>
  <WNT>
    <RESOURCE Id="res.dvm.wa" Source="INTERNAL">
     $(res.fgldir)\bin\fglrun.exe</RESOURCE>
    ...
  </WNT>
  <UNX>
    <RESOURCE Id="res.dvm.wa" Source="INTERNAL">
     $(res.fgldir)/bin/fglrun.exe</RESOURCE>
    ...
  </UNX>
</RESOURCE_LIST>

For more information on defining a resource, see RESOURCE.