This is not supported by EclEmma. You can only include/exclude on package fragment root level.

If you use one of our build tool integrations you get a finer control.

On 25.08.17 16:22, [email protected] wrote:
On Friday, 25 August 2017 15:11:07 UTC+1, Marc R. Hoffmann  wrote:
The only way I know is to build your own version. Here is our Git repo:
https://github.com/eclipse/eclemma

"mvn clean install" should do the job. You need to bump the JaCoCo
version and use our SNAPSHOT repository, see:
http://www.jacoco.org/jacoco/trunk/doc/repo.html

Regards,
-marc



On 25.08.17 15:56, [email protected] wrote:
On Friday, 25 August 2017 14:28:09 UTC+1, Marc R. Hoffmann  wrote:
Hi Matteo,

this feature is not yet released in JaCoCo, only in SNAPSHOT builds. See
change log.

As soon as we have a JaCoCo release we will update EclEmma.

Regards,
-marc



On 25.08.17 15:06, [email protected] wrote:
Hello there,
I'm happily using EclEmma but the only thing I miss is properly make it ignore 
generated methods from Lombok: I see on the Jacoco changelog that this feature 
was included recently but I still can't figure out if there is a way to 
configure EclEmma to use it.

I checked that Lombok is adding the @lombok.Generated annotation to my bytecode.
Anyone that succeeded in making it work?

Thank you in advance,
Matteo

Thank you for your reply.
Just to make sure, is there any way to make EclEmma use a different Jacoco 
version manually?

Thank you! I'll try it next week. One last question, if I may ask: what is the most correct way to 
exclude single classes from the coverage reports? I read in the documentation that "Coverage 
Runtime" section in eclipse preferences does not serve this purpose, but the "Default 
Scope" section does only allow me to set a path matching pattern, which is not usable if you 
have hundreds of classes you want to cover and just 2-3 classes that you want to exclude.


--
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/df4af0b1-15ba-4ed4-7359-e7e9d9870de3%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to