Top Method Summary
Options Name Purpose
CHARACTER GetPropath (character, table) Returns the actual PROPATH entries based on the temp-table from a .propath file
CHARACTER GetPropathBaseFolder (character) Returns the propath entry/folder the given file name is located under
CHARACTER GetRelativeFileName (character) Returns the relative file name based on a matching PROPATH entry
LOGICAL IsAbsoluteDirectory (character) Tests if the current directory name is absolute of relative
CHARACTER MakeAbsolute (character, character) Turns a relative propath into an absolute path
ParseDotPropathFile (character, table) Parses a PDSOE project's .propath file
CHARACTER PropathDelimiter () Returns the propath delimiter for the current OS

Top Constructor Summary
Options Name Purpose
PropathHelper () Static constructor for the PropathHelper class
PropathHelper () Disallow instance creation


Method Detail
Top

CHARACTER GetPropath (character, table)

Purpose: Returns the actual PROPATH entries based on the temp-table
from a .propath file
Notes: Relative src, folder and lib entries are resolved against pcBasePath,
relative lib entries that do not exist below pcBasePath are searched
relative to the working directory and the PROPATH of the session.
The propath_path field of the entries is resolved in place in the
copy of the temp-table the method receives

Parameters:
pcBasePath CHARACTER
The base path (current directory)
ttPropath TEMP-TABLE ttPropath
The INPUT temp-table with the propath entries
Returns CHARACTER
The PROPATH resulting from the temp-table
Top

CHARACTER GetPropathBaseFolder (character)

Purpose: Returns the propath entry/folder the given file name is located under
Notes: Supports relative and absolute file names for existing files and
absolute file names for non existing files. File Names / folders will
be returned with forward slash. A PROPATH entry only matches when the
file name continues with a path delimiter behind it (C:/Work/ABL is not
the base folder of C:/Work/ABL2/foo.p) or when the file name is the
PROPATH entry itself. The first matching PROPATH entry is returned

Parameters:
pcFileName CHARACTER
The file name to locate in a PROPATH folder
Returns CHARACTER
The absolute path representation of the PROPATH entry containing the given file path
Top

CHARACTER GetRelativeFileName (character)

Purpose: Returns the relative file name based on a matching PROPATH entry
Notes: Relative file names are returned unchanged. The PROPATH entry is
determined by GetPropathBaseFolder, an InvalidParameterValueException
is thrown when the file is not located below a PROPATH folder

Parameters:
pcFileName CHARACTER
The file name to locate in a PROPATH folder
Returns CHARACTER
The relative file name
Top

LOGICAL IsAbsoluteDirectory (character)

Purpose: Tests if the current directory name is absolute of relative
Notes: Absolute paths start with either a / (slash) or a double \\ (UNC)
or a letter followed by a colon

Parameters:
pcDirectory CHARACTER
The name of the directory to test
Returns LOGICAL
Logical value indicating if the directory is specified as an absolute path
Top

CHARACTER MakeAbsolute (character, character)

Purpose: Turns a relative propath into an absolute path
Notes:

Parameters:
pcBasePath CHARACTER
The relative path to be used as a base for relative references
pcPropath CHARACTER
The propath to make absolute
Returns CHARACTER
The propath with only absolute path references
Top

ParseDotPropathFile (character, table)

Purpose: Parses a PDSOE project's .propath file
Notes:

Parameters:
pcFileName CHARACTER
The name of the .propath file to parse
ttPropath TEMP-TABLE ttPropath
The OUTPUT temp-table with the propath entries
Top

CHARACTER PropathDelimiter ()

Purpose: Returns the propath delimiter for the current OS
Notes: According to the OpenEdge documentation, even UNIX sessions
use the comma as the propath delimiter from within the AVM so this
method is just left for backwards compatibility

Returns CHARACTER
The comma as the propath


Constructor Detail
Top

STATIC PropathHelper ()

Purpose: Static constructor for the PropathHelper class
Notes:

Top

PropathHelper ()

Purpose: Disallow instance creation
Notes:



Temp-Table Detail

Temp-Table ttPropath

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:35:50