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.
Does this mean that some of the parameters defined in the
PCTCompile
element are actually ignored, for examplestackSize
, because I'm using this-compileroptionsfile
option?
I would take this to mean that only the requireFullNames
, requireFieldQualifiers
and requireReturnValues
are ignored.