I have the following java agent options:

-javaagent:C:/JaCoCo/lib/jacocoagent.jar=output=tcpserver

I have the following ant task:

<jacoco:dump reset="true" destfile="jacoco.exec"/>

I run the dump task and a jacoco.exec file is created and I can then generate a 
report.

If I run the dump task again, the jacoco.exec file doubles in size.

If I run the dump task a third time, the jacoco.exec file trebles in size.

I realize the jacoco.exec file is being appended to, but I'm not sure if there 
is a duplication of execution data.

If I change the reset to false, I get exactly the same behaviour with the file 
size.

<jacoco:dump reset="false" destfile="jacoco.exec"/>

Could someone confirm that the reset="true" clears all execution data after 
dumping and that this same execution data isn't returned on a subsequent dump?

If that's not the case, what does reset do?

How do I get the java agent to clear the execution data?

Thanks.



-- 
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