Skip to content

Path and path separator issues

guwirth edited this page Nov 1, 2014 · 32 revisions

Setting up the plugin and the build chain the most common issues are path issues at the beginning. Using different build chains, differences on the operating systems and the different SonarQube project types are making the things not easier. On this page you find some hints to get your system up and running.

General hints

  • The location of your configuration file sonar-project.properties defines the root folder of your project. All other files and folders should be on root level or in a subfolder.
    Hint: Only exception is sonar.cxx.includeDirectories where you can define additional include directories outside of root.
  • Use always slashes (/) in the configuration file sonar-project.properties as path separator.
    Hint: It is also possible to use backslashes but you have to escape it with another backslash (\ => \\) which is worse to read.

TBD

Multi-language projects

TBD

Multi-module project

TBD

Clone this wiki locally