L.S.
Please, I need some help with this job. Can you see why I don't get a result for error or warnings?
static void BestPractiseJob(Args _args)
{
SysBPCheck sysBPCheck;
TreeNode node;
SysCompilerOutput sysCompilerOutput;
#AOT
;
node = treenode::findNode(#ClassesPath);
node = node.AOTfindChild("SalesFormLetter");
sysCompilerOutput = infolog.compilerOutput();
SysBPCheck::checkTreeNode(node);
// sysCompilerOutput.startCompilationContext();
// sysCompilerOutput.endCompilationContext();
info(strFmt("Message count: %1", sysCompilerOutput.bestPracticesCount()));
info(strFmt("Error count: %1", sysCompilerOutput.errorCount()));
info(strFmt("Warning count: %1", sysCompilerOutput.warningCount()));
}
*This post is locked for comments