Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History
NameSonar Runner
Latest version2.0 ( 20 September 2012 )
Requires Sonar version2.11 or higher ( check version compatibility )
Downloadhttp://repository.codehaus.org/org/codehaus/sonar-plugins/sonar-runner/2.0/sonar-runner-2.0.zip
LicenseGNU LGPL 3
DevelopersEvgeny Mandrikov, Simon Brandhof, Fabrice Bellingard
Issue trackerhttp://jira.codehaus.org/browse/SONARPLUGINS/component/14640
Sourceshttps://github.com/Sonarsource/sonar-runner/tree/2.0

Features

The Sonar Runner is recommended as the default launcher to analyze a project with Sonar.

Prerequisites

  • Java 1.5 or higher

Installation

  1. Uncompress the downloaded file into a directory named $SONAR_RUNNER_HOME in the next steps.
     
  2. Update the global settings (database connection, server URL) by editing the file $SONAR_RUNNER_HOME/conf/sonar-runner.properties

     

     

  3. Create a new SONAR_RUNNER_HOME environment variable set to $SONAR_RUNNER_HOME.
     
  4. Add the $SONAR_RUNNER_HOME/bin directory to your path.
     
  5. You can check the basic installation by opening a new shell and executing the command 'sonar-runner -h' (on windows platform the command is 'sonar-runner.bat -h') . You should get a message like this :

If you need more debug information you can add the property sonar.verbose by adding the command line parameter -Dsonar.verbose=true.

You are now ready to analyze a project with the Sonar Runner.

Change Log

Release 2.0 (6 issues)
Type Key Summary Priority
Bug SONARPLUGINS-2263 Classloader is not fully isolated Major
Improvement SONARPLUGINS-1856 When launching the Sonar Runner, a meaningful error message must be thrown when one source directory doesn't exist Major
Task SONARPLUGINS-2217 Move Sonar Batch Bootstrapper classes from Sonar to Sonar Runner Major
Improvement SONARPLUGINS-2203 Make sure all Sonar properties start with "sonar." Major
Improvement SONARPLUGINS-2202 Add multi-module support Major
Improvement SONARPLUGINS-2256 By default sonar-runner should not use UTF-8 to read source code files but the default encoding of the JVM Major

 

 

 

 

 

Labels
  • None