A properties file defines pseudo-variables to specify artifact locations. The region startup process reads the properties file set for the region and creates a pseudo-variable for each item in the file that defines a path.
You can use pseudo-variables to define artifact locations, or parts of an artifact location, in the region startup file. For example, $MYVAR/subdir where MYVAR is the pseudo-variable created from the properties file definition.
Use the following procedure to create a properties file.
<?xml version ="1.0"?> <configuration> <configSections> <section name="properties" type="System.Configuration.NameValueSectionHandler" /> </configSections> <properties> <add key="VAR1" value="c:\mydir\maps" /> <add key="VAR2" value="c:\mydir\programs" /> </properties> </configuration>
With a region startup using the above properties file: