Path Substitution
Synopsis
app.gf.data.path.substitution=<string>
Entries with this key may be used to substitute substrings of the values of the path and extpath keys in package registration files. This key may be useful if an installation uses a mirrored/rsynced data directory whose local path differs from the original path.
The value is similar to the argument of the s commands in sed(1) and vi(1). It must consist of delimiter, pattern string, delimiter, replacement string, delimiter, and optional “i” flag.
The character used as delimiter is determined by the value’s first non-whitespace character. The pattern string is a Java regular expression (see Pattern).
The replacement string is the string used to replace all matching substrings of the values of the path and extpath keys in package registration files. Note that backslash (‘\’) and dollar signs (‘$’) in the replacement string are treated specially. A dollar sign may be treated as a reference to a captured subsequence, and a backslash is used to escape the following character. Look for appendReplacement in Matcher for more information.
Note that the substitution is performed for the whole value of the path and extpath keys. This may make a difference as EAIWS allows the specification of multiple paths separated by semicolon (or colon on Unix-like operating systems). This should be kept in mind even if the installed data profiles contain only one path per entry, because EAIWS merges data profiles pertaining to the same manufacturer or concern into a single data profile to create a single catalog, if possible, and processes the merged data profile the same way as all other data profiles.
Example:
app.gf.data.path.substitution=,(^|[;:])/opt/pCon/_data/,$1/home/jpo/egr/data/,