Hi,

no, this is not supported with JaCoCo out of the box. JaCoCo works on JVM level as a Java agent and provides no framework specific mechanisms.

There is a old prototype based on EMMA: http://www.eclemma.org/research/instrumentingosgi/index.html

But be warned that EMMA does not work with modern Java versions and the prototype is not a supported project at all.

Theoretically one could think of implementing the same strategy as described in the paper on top of JaCoCo APIs.

Regards,
-marc

On 2017-05-10 14:02, [email protected] wrote:
Hello,

Can I use a OSGI bundle agent instead of jacoco agent as VM argument?How?
How can I collect the report?

Regards

--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/91efb8f29e60df599c4864e844f6346e%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to