Hi Ron,
simply pass "true" as the second parameter ("reset") to the
visitDumpCommand() method:
https://github.com/jacoco/jacoco/blob/master/org.jacoco.core/src/org/jacoco/core/runtime/RemoteControlWriter.java#L54
Best regards,
-marc
On 09.05.14 07:42, [email protected] wrote:
Hi,
The Jacoco faq says that we can reset coverage data without vm shutdown while
in tcpserver or tcpclient mode as the output.
I am able to collect coverage data without shutting down the vm following the
example ExecutionDataServer.java.
However I am unable to find any example/code which resets the coverage data via
the tcpserver mode.
I do see that there is a RuntimeData.reset method but I am not sure where to
plug it in the RemoteControlReader/Writer.
Am I missing something?
Thanks
Ron
--
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.