| Table of Contents |
Prerequisites
- Ant 1.7.1 or higher
- Java 1.5 or higher
- Sonar 2.8 or higher
Version compatibility
Ant task | Sonar 2.6 | Sonar 2.7 | Sonar 2.8 | Sonar 2.9 to Sonar 3.0 |
|---|---|---|---|---|
1.4 |
|
|
|
|
1.3 |
|
|
|
|
| 1.2 |
|
|
|
|
1.1 |
|
|
|
|
1.0 |
|
|
|
|
The way to configure the Sonar Ant task has changed between version 1.0 and version 1.1, so if you must use the Ant task version 1.0, please use this documentation page.
Older versions of Sonar are not supported.
Installation
- Download the Sonar Ant Task
Declare the Sonar Ant Task and define the configuration in a common Ant script file:
.
You are now ready to analyze a project with the Ant task
Release Notes

