Open nilleb opened 8 years ago
I must admit that the dpk/dof/cfg/dpr files being analyzed (in the context above) are not valid ones. These are test files, almost empty. I realize that the problem could just be that the DelphiProject returns a null array when getting the files of a fake (empty) project file.
Are Delphi 7 projects supported by this plugin ? (dpk/dpr)
I'm using Delphi XE3, XE7 and Seattle 10 and I'm having hard time with projects files like .dproj.
IDE autogenerated files should not be analysed. Project files may be used only to select which files should be analysed.
.dproj is a XML files with includes, build profiles, platform target profiles, etc, all nodes are duplicated and the plugin is categorizing this nodes as duplicates.
I have no dproj. I just have empty (truncated to 0B) or invalid dpk files in the project being analyzed. These files are test files used by a C# unit test project.
add this line to your sonar-project.properties sonar.exclusions= .dpr, .dpk, *.dproj
This is an excerpt of the log of the sonar-runner execution, for a project which doesn't include any Delphi sources. The sonar-runner is being invoked through the TFS vso-agent-task SonarQube Post Test