sonar runner - Having trouble getting started with SonarQube -


I have installed the sonarqueb and sonar-runner, and the web server works just fine because I can browse it Tried to keep things as simple as I could, I put the "sonar-project.properties" file in the source folder of my project and gave it. In sonar form After the source has done this, the console output reported success and the web page lists the date of my project and the final analysis, but when I went into the "Compare" tool to see the statistics, all the things are empty Shown from number 0

I have edited the sonar -project.properties file to give the source code of my project full path (instead of its relative current directory path), by changing the backslash with forward slash, from the command line The sonar-runner command is working again while the working directory was the path to my source folder. It was again reported to be successful and when I reloaded the web page, it updated the date of the last update, but again no problems were found and the figures were all empty.

I do not know what I'm doing, Sonar Log only reports installation and installation of Windows service, and it does not indicate any problem Service starts without the StartNTService script error , But the StartSonar script reports "an error occurred in the jvm 1 | wrappersimplup: main part: org.apache.catalina.LifecycleException: Failed to start the component [standard server [-1]]". I do not know that the way I am using SonraCube as a Windows service, it is relevant. I'm using a lot of all default configurations, except that I have sonar-runner Edit the properties file by un-commenting on these lines:

  sonar.host.url = http: // localhost: 9000. sonar. sourceEncoding = UTF-8  < / Pre> 

If someone can help me understand how to do this, I would appreciate it. I'm running Windows XP Pro x64 SP2 and Java 1.7.0_51 (32 bit). On my first attempt I used to install 64-bit service / launch script incorrectly, but when the console output indicated that it does not match the JVM architecture, I stopped and uninstalled and installed the service Done and started 32 bit service.

Edit: I am using Sonarbebe version 4.2 and sonar-runner version 2.3.

By default, sonrakub was packed with Java ecosystem (Java, Checkstyle, PMD) , But for C / C ++ you need to install plugins that support the analysis of these languages.

There is another one.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -