background preloader

Sonar

Facebook Twitter

Design view not showing any dependencies. Code coverage with EMMA do not show tests run and execution time, and the success percentage. Hi Freddy I am also facing the same issue since in my case its showing build successfull but code coverage is not there.Its only showing module name on sonar web page nothing else not even the lines of code. Please check the below configurations <target name="sonar"> <echo> In Sonar defined Task. </echo> <property name="sonar.sources" value="gen-src" /> <property name="sonar.binaries" value="${localRoot}/classes" /> <property name="sonar.libraries" value="${localRoot}/lib" /> <sonar:sonar key="org.Modules:Modules" version="0.1-SNAPSHOT" xmlns:sonar="antlib:org.sonar.ant"> </sonar:sonar> </target>PFA the sonar log file. thanks regards Rahul khanna Hi Ming, Could you double check the value of the sonar.binaries property because I'm pretty sure that the issue comes from this property value.

Could you also send the Sonar analysis log file ? Freddy Sonar for Continuous Inspection On Sun, Nov 13, 2011 at 4:54 AM, Ming Jin <[hidden email]> wrote: Thanks Freddy. Thank you for the reply. Analyse with ANT - a Sonar Way. Multi module analysis. Hello list, i’ve tried to analyze our ant build software with sonar. Because it consists of different parts which are separate eclipse projects I wanted to use the new multi-modules feature of the sonar ant task 1.1. But for me it doesn’t work and always complains about “SonarException: Can not add twice the same measure on …”. I think the problem is, that the workdir already contains results of that sensor. At the moment it fails for the second module at “Sensor ProfileSensor...” because I created an empty quality profile. Here are the build.xml snippets according to the example in the wiki ( Parent: Child1 and Child2 have these properties global in the build.xml (directly underneath the <project> tag): Find the ant output attached.

Is there a property that has to be defined where to place the reports or is the multi-module functionality not yet working properly? Sonar. Sonar - Example.