Kbase P142903: Dummy entries in PROPATH are ignored in OpenEdge 10
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/03/2009 |
|
Status: Unverified
SYMPTOM(s):
Dummy entries in PROPATH are ignored in OpenEdge 10
FACT(s) (Environment):
Using dummy entries in PROPATH to control compile-time settings e.g.
&if propath matches "*TEST-STRING*" &then
Check for dummy entry determines which code is compiled
Incorrect files are compiled if using default Application Compiler settings
Correct files are compiled if full-path to their location is provided in Application Compiler settings
Same code works in Progress 9
OpenEdge 10.x
All Supported Operating Systems
CHANGE:
Upgraded to OpenEdge 10
CAUSE:
Application Compiler modifies the PROPATH at compile-time and checks to ensure that each PROPATH entry points to a valid location, as follows:
DO t_int = 1 TO NUM-ENTRIES(PROPATH):
FILE-INFO:FILE-NAME = MAXIMUM(".",ENTRY(t_int,PROPATH).
IF FILE-INFO:FULL-PATHNAME <> ? THEN /* Only valid entries are included */
vQualifiedProPath = vQualifiedProPath + "," + FILE-INFO:FULL-PATHNAME.
END.
FIX:
To continue to use this method, create a dummy folder and reference the dummy folder in the PROPATH. Since the dummy entry is now a valid location on disk, it will not be ignored.