Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This discoverer detects projects based on the presence of specific build compilation output files and their content. It can be used in conjunction with:

In what situation should you install this extension?

...

  • Either run the CAST Delivery Manager Tool on the machine on which the compilation took place
  • Or, use the Development Root Folder option in the CAST Delivery Manager Tool to remap the paths:

Other warnings and errors

ERROR invalidRoot

Code Block
invalidRoot %DIR%="some/path" %ROOT%="some/path"

Typically this error occurs when CAST identifies the path specified by %DIR% in the source code (i.e. the compilation processes use this path), whereas the root path (specified by %ROOT%) is the path defined in the CAST Delivery Manager Tool itself under Root folder: the error is displayed because the two paths do not match. To resolve the issue, input the path specified in %DIR% into the Development root folder field. This will ensure that CAST can resolve the dependencies specified in the source code.

This error can also occur if you input the wrong path into the Development root folder.

WARNING invalidCommand

Code Block
invalidCommand %LINE%="line_number" %FILE%="some/path"

Typically this warning occurs when CAST is processing the Scan Build files (compile_commands.json and compile_config.json) and indicates that an inconsistency has been discovered in one of these files. These warnings will not stop the process and can usually be ignored but deserve some investigation of the specific line numbers noted in the warning.

WARNING noFile

Code Block
noFile %PATH%="some_file"

Typically this warning occurs when CAST is processing the Scan Build files (compile_commands.json and compile_config.json) and indicates that a path to file specified in %PATH has been discovered but the file cannot be found. These warnings will not stop the process and can usually be ignored but deserve some investigation.