mark
mark

Reputation: 62774

How can I use Sonar with our project, which is built with ant?

We build our projects with ant and happy with it.

The other day, I wished to give Sonar a try only to discover that it requires me to have maven. So, I guess I need some kind of pom.xml somewhere in my project.

There are three things I wish to avoid:

Is it possible to have this pom.xml as minimal as possible and yet to be able to analyze the project with Sonar?

Thanks.

P.S.

Less demanding Sonar alternatives are welcome as well.

Upvotes: 1

Views: 355

Answers (2)

aishwarya
aishwarya

Reputation: 1986

as requested, putting this as an answer:

SONAR comes with an ANT task

Also look at this.

Upvotes: 3

Mark O'Connor
Mark O'Connor

Reputation: 77971

Sonar version 2.6 introduced an ANT task for running Sonar.

Code coverage reporting requires additional work. See the following answer:

SONAR - Measure Code Coverage using Cobertura

Upvotes: 2

Related Questions