[Stackoverflow]

Discussão em 'StackOverflow' iniciado por fdantas, Junho 16, 2025.

  1. fdantas

    fdantas Administrator Moderador

    Im trying to make PCTCompile fail compilation with the following settings:

    requireFullNames="true"
    requireFieldQualifiers="true"
    requireReturnValues="true"


    However, requireReturnValues="true" only logs a warning, it doesn't throw error. So it seems that I cannot use these fields for this purpose.

    I saw some examples online, using the -compileroptionsfile, like this:

    <PCTCompile
    destDir="${compiledir}"
    DlcHome="${env.DLC}"
    progPerc="2"
    displayFiles="1"
    stackSize="512"
    inputChars="32000"
    debugListing="false"
    listing="true"
    xmlXref="true"
    keepXref="true"
    numThreads="1"
    stopOnError="true"
    relativePaths="true"
    outputType="json"
    >
    <Option name="-compileroptionsfile" value="C:\tmp\compiler.options" />


    And the compiler.options file looks like this:

    require-full-names:Error,
    require-field-qualifiers:Error,
    require-return-values:Error


    This logs the following:

    [INFO] [PCTCompile] PCT compiler options are overridden by COMPILER:OPTIONS


    Does this mean that some of the parameters defined in the PCTCompile element are actually ignored, for example stackSize, because I'm using this -compileroptionsfile option?

    I'm using OpenEdge Release: 12.2.13.

    Continue reading...

Compartilhe esta Página