Hi Alex,

the problem when importing the exec files into Eclise is that the classe files have to be the exact same files than the one used at runtime. If you use a different compiler in your build or different compiler settings exec data cannot be matched. In your case it looks like the different dev environment hve different local compiler settings.

The same migth apply for the Sonar build. Here you have to ensure that the class files used for the integration tests are the same as the one used within the Sonar build.

Best regards,
-marc

On 05.03.14 15:18, [email protected] wrote:
Hi!

Please help to understand/troubleshoot and solve following problem.

There are two dev boxes with Eclipse (Spring Tool Suite 3.4.0.RELEASE) & 
EclEmma plugin (2.2.1.201...), one build machine and Sonar server (3.7.1) with Emma 
Plugin (1.3).
The sources are synchronized with P4 (Perforce) and build with Maven 3.0.
There is an exec file generated by jacoco runtime java agent 
(0.6.4.201312101107) during integration tests on the build machine.
Import this exec file on the dev boxes and the Sonar server gives 3 different 
results
- 75.4 % (Dev box1)
- 45.7 % (Dev box2)
- 41.7 % (Sonar server)

The first number is correct but the two others – false.

Thanks in advance.
Alex



--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to