Saturday, February 2, 2013

SONAR Ant Task

I am using Sonar for code analysis. While writing some custom Ant build scripts for SONAR since we have an Ant task now, I was constantly seeing the following error message. I followed the steps listed on Sonar here: 

The build file I created was as such:

However, every time I tried the task I kept getting the following exception:

A small change in the build file, and the Analysis ran like a charm: