wrong. There is a another utility in our examples which shows the id of
given class file. This might help to track where the difference comes
On 2015-04-01 15:46, leo chan wrote:
> Hi Mac,
> Thanks for the reply. Yes the class in the report is plain text. I
> actually use the classdumpdir option in the agent start up to dump the
> HeartBeatController class file and then put that into the
> target/classes folder to make sure it is the same class but still get
> the same result. I also do a diff on the heartBeatController class to
> the one in tomcat, it is the same. It there a way that I can make
> sure I am using the right one beside what I just did?
>
> Leo
>
> On Wed, Apr 1, 2015 at 5:26 AM, Marc Hoffmann
> <
hoff...@mountainminds.com> wrote:
>
>> Hi Leo,
>>
>> on the Sessions page, is the class HeartbeatController linked to
>> the report or is it just plain text?
>>
>> If it is not linked this means the JaCoCo agent sees a different
>> class file than the one used for report generation.
>>
>> BTW, the exec file is a internal binary format. You can open exec
>> files with the EclEmma plugin or dump the content with this example
>> program:
>>
http://www.eclemma.org/jacoco/trunk/doc/examples/java/ExecDump.java