Instrument only my source java files

31 views
Skip to first unread message

m.sun...@gmail.com

unread,
Jun 17, 2019, 5:49:23 PM6/17/19
to JaCoCo and EclEmma Users
Hi,
When i run jacoco i see all it dependent classes also instrumented (enabled classDumpDir and saw lots of classes being dumped there)

How do i make sure i instrument only source files under my project (myproject/src/main/java) are instrumented?

Thanks
Sundar

Evgeny Mandrikov

unread,
Jun 18, 2019, 4:39:37 AM6/18/19
to JaCoCo and EclEmma Users
Please read the documentation - https://www.jacoco.org/jacoco/trunk/doc/agent.html
Agent options "includes" and "excludes" specify which classes will be instrumented.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages