On Thursday, March 29, 2018 at 4:52:36 AM UTC+2, Tool Ply wrote: > > > So the conclusion is jacoco has a little bug with handling frame right? > > I notice that jacoco could exclude some classes in execution analysis > <https://www.google.com/url?q=https%3A%2F%2Fwww.jacoco.org%2Fjacoco%2Ftrunk%2Fdoc%2Fagent.html&sa=D&sntz=1&usg=AFQjCNFr6byCNo3AndK5LVIOu7H5-MqBcw>, > > However, it could not exclude the classes in instrumentation so that I have > to delete the .class manually before instrumentation to avoid this > issues. Is there any other more elegant way. >
Ability to specify exclusions is not implemented for Command Line Interface, there are several aspects that complicate implementation and so far we had no time to address them. So for the time being your workaround is good one. In the meantime fix for problem ( https://github.com/jacoco/jacoco/pull/667 ) was committed to the master branch, so will be available in next release. Meanwhile you can use snapshot version - http://www.jacoco.org/jacoco/trunk/doc/repo.html -- 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 jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/97f6f68d-af07-41ed-97b3-6e3203d40553%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.