Consultor Eletrônico



Kbase P15313: Application compiler does not use correct include file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/3/2006
Status: Verified

FACT(s) (Environment):

Progress 8.x
Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Application compiler does not use correct include file

Multiple include files with the same name in the PROPATH

Include file used is not the one that is found first in PROPATH

CAUSE:

This is expected behavior.

Before each procedure is compiled, the Application Compiler temporarily adds the directory that procedure is in to the PROPATH, as the first entry.
This is intended behavior, as this allows the Application Compiler to generate correct XREF files if needed.

FIX:

This issue can be avoided by minor organizational changes in the development process.

Possible ways to avoid this include, but are not limited to:
- Setting up a separate directory for compile jobs.
- Writing a custom compiler tool based on the COMPILE .... SAVE 4GL statement.
- Reorganizing the directory structure of the application.