- Java 1.5 or higher
- Sonar 2.6 or higher. The server must be up when analyzing projects.
- Uncompress the downloaded file into a directory named $SONAR_RUNNER_HOME in the next steps.
- Update global settings (database connection, server URL) by editing the file $SONAR_RUNNER_HOME/conf/sonar-runner.properties
- You can check the basic installation with opening a new shell and typing 'sonar-runner -h'. You should get a message like this :
For each project create a file sonar-project.properties in the base directory :
For advanced features such as reusing existing unit test reports, you can set advanced parameters in this file or through command-line parameters.
You can then execute 'sonar-runner' from project base directory to launch a Sonar analysis.
Release 1.1 (5 issues)
|SONARPLUGINS-1467||When launching the Sonar Runner, all paths of used files with properties must be displayed before starting the analysis||Closed||Fixed|
|SONARPLUGINS-1220||Runner home must be optional||Closed||Fixed|
|SONARPLUGINS-1177||Remove unused code||Closed||Fixed|
|SONARPLUGINS-1114||Automatically determine SONAR_RUNNER_HOME on Windows||Closed||Fixed|
|SONARPLUGINS-1004||Add a way to define some java options without having to update the sonar-runner scripts||Closed||Fixed|
Release 1.0 (1 issues)
|SONARPLUGINS-951||Create a Sonar Standalone Runner (In addition to the Maven & Ant Runners)||Closed||Fixed|