Sonar-Runner does not use files

Asked

Viewed 133 times

0

I installed the local sonar in my Ubuntu and I’m trying to raise some figures for it. I set up the sonar-project properties. as follows:

sonar.projectKey=your:project-key
sonar.projectName=Project Supermercado
sonar.projectVersion=1.0
sonar.language=java
sonar.sources=.
sonar.sourceEncoding=UTF-8

I have two Supermarket and Monopoly projects, both in java. If I put this file in the Supermarket folder I can upfeed the project to sonar, but when I put the file in the Monopoly folder and try to uple, the following error appears:

ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Unable to blame file Comercio.java
ERROR: 
ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.

I have to use sonar, because it’s a college job, if anyone can help.

  • Is your code being versioned? Git, SVN or something?

  • 2

    The supermarket was already in git and Monopoly was not, after I versioned it worked. Our was breaking our heads with this... thank you very much Igor =)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.