Hi,

first of all: Normally with JaCoCo there is no need to instrument classes. The JaCoCo agent performs this on the fly.

If you have a good reason to instrument classes offline, the Ant task is as good example how to use the APIs:

https://github.com/jacoco/jacoco/blob/master/org.jacoco.ant/src/org/jacoco/ant/InstrumentTask.java

Regards,
-marc

On 03.06.16 08:21, pal pandi wrote:
Hi,

How can I use jacoco APIs to instrument a particular path just like instrumenting a path in emma?

In the API documentation, I am not able find anything like that?


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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/1aa54a2d-bf52-42e2-83ef-6c9a581413ec%40googlegroups.com <https://groups.google.com/d/msgid/jacoco/1aa54a2d-bf52-42e2-83ef-6c9a581413ec%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/57520146.2080208%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to