| Name | Sonar Runner |
|---|---|
| Latest version | 2.0 ( 20 September 2012 ) |
| Requires Sonar version | 2.11 or higher ( check version compatibility ) |
| Download | http://repository.codehaus.org/org/codehaus/sonar-plugins/sonar-runner/2.0/sonar-runner-2.0.zip |
| License | GNU LGPL 3 |
| Developers | Evgeny Mandrikov, Simon Brandhof, Fabrice Bellingard |
| Issue tracker | http://jira.codehaus.org/browse/SONARPLUGINS/component/14640 |
| Sources | https://github.com/SonarCommunity/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
- Uncompress the downloaded file into a directory named $SONAR_RUNNER_HOME in the next steps.
Update the global settings (database connection, server URL) by editing the file $SONAR_RUNNER_HOME/conf/sonar-runner.properties
- Create a new SONAR_RUNNER_HOME environment variable set to $SONAR_RUNNER_HOME.
- Add the $SONAR_RUNNER_HOME/bin directory to your path.
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

