The CONFIGURATION element / The APPLICATION_SERVER 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.
<RESOURCE_LIST> <PLATFORM_INDEPENDENT> [ resource ] [...] </PLATFORM_INDEPENDENT> <WNT> resource [...] </WNT> <UNX> resource [...] </UNX> </RESOURCE_LIST>
A RESOURCE_LIST element contains the following child elements:
One PLATFORM_INDEPENDENT element, containing a list of platform-independent resources.
One WNT element, containing a list of WNT-specific resources.
One UNX element, containing a list of UNIX-specific resources.
<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.