Consultor Eletrônico



Kbase 20394: ADM. ProtoGen Does Not Generate Expected Property Include File
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/1/2010
Status: Unverified

SYMPTOM(s):

ProtoGen

ADM. If you try to generate a prototype include file, using the the ProtoGen utility from ProTools for your newly-created ADM class super procedure, it is possible that you do not get all the prototype entries (internal procedures and functions that exist in your super Procedure).

There is no error message and newly added internal procedures and functions are not be shown in the prototype include file that is generated.

FACT(s) (Environment):

Progress 9.x

CAUSE:

When ProtoGen starts, it looks for the source file that you supply within "Super Procedure" and, using FILE-INFO:PATHNAME, it uses the relative path to your super procedure file.

Next it tries to execute it. If there is a previously compiled version of the super procedure that does not have newly added and internal entries compiled (or if an old super procedure is the first one found in PROPATH), a misfit prototype include file is generated.

FIX:

Compile your super procedure and place .r files in the appropriate directory within your PROPATH before you run ProtoGen.