On Friday, January 26, 2018 at 10:00:24 AM UTC+1, [email protected] wrote:
>
> I wanted to demonstrate the effectiveness of EclEmma to a Japanese audience
>

First of all - you don't need to measure coverage of classes such as 
"java.lang.String" for such demonstration, so I would highly advice to not 
go into unnecessary complexity.


On Thursday, February 1, 2018 at 6:55:20 AM UTC+1, [email protected] wrote:
>
> Please help/tell me how to run the jacocoagent with 
> "inclbootstrapclasses=true" option?
>
I am having difficulty running the jacocoagent. I have eclEmma as a plugin 
> for Eclipse4.5, but couldn't find the jacocoagent.jar.
>

Goal of EclEmma is to hide the need/complexity of direct configuration of 
agent. And that's why hard to find agent in it.

 

> I downloaded the latest jacoco version 080 and tried runnning java 
> -javaagent:[current_path]jacocoagent.jar=inclbootstrapclasses=true, but 
> could not get to run.
>

What means "could not get to run" ? Execution of

java -javaagent:jacoco-0.8.0/lib/jacocoagent.jar=inclbootstrapclasses=true 
Main

produces file "jacoco.exec" that contains raw information about coverage of 
class Main and some classes that won't be in it without 
"inclbootstrapclasses=true".
Generation of final report from "jacoco.exec" is a separate step: see 
"report" command in command line interface 
- http://www.jacoco.org/jacoco/trunk/doc/cli.html , "report" Ant task 
- http://www.jacoco.org/jacoco/trunk/doc/ant.html , etc
And this is one more example where EclEmma brings simplicity by hiding 
complexity.

Moreover if you didn't know that JaCoCo library is behind EclEmma and never 
before used it directly, then please first study its documentation and try 
basic cases, instead of starting with very advanced option 
"inclbootstrapclasses" that is marked in documentation as "use with 
caution".

-- 
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/9ef82a2f-d9a5-45be-8ef0-45d69c98504d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to