[942113 views]

[]

[toggle ads]

Odi's astoundingly incomplete notes

New entries | Code

Setting sonar.libraries from an Ant classpath

Sonar Ant task properties use the comma character to separate paths. So a little trick is necessary to integrate that with existing path resources:

<path id="myclasspath">
  <pathelement path="lib/mylib.jar"/>
</path>

<pathconvert property="sonar.libraries" pathsep="," refid="myclasspath"/>

posted on 2013-07-03 11:24 CEST in Code | 0 comments | permalink