Hi, 

if you want to create a exec *file* use output=file (which is default
and can be omitted). 

Regards,
-marc 

On 2020-01-14 09:03, MLK wrote:

> Hi All, 
> 
> I used the jacoco agent(jar v0.8.4)  in an application server to get the 
> functional test coverage. This application code already had the jacoco maven 
> plugin configured (in pom.xml  v0.8.1) to measure the unit testing coverage. 
> The .exec file which was dumped using the agent didn't had any stats so I 
> removed the maven plugin configuration , redeployed the application and then 
> new .exec file was showing the coverage stats. 
> 
> This is the command I used to bind the agent, 
> 
> JAVA_OPTS="$JAVA_OPTS 
> -javaagent:/home/user/lib/jacocoagent.jar=address=*,port=xxxx,destfile=/home/user/jacoco-it.exec,append=true,output=tcpserver"
>  
> 
> can this be happened due to different jacoco versions and any idea on how to 
> implement both methods?  
> 
> -- 
> 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/fd3f3e57-e692-4d13-b586-620cd7b25786%40googlegroups.com
>  [1].

 

Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/fd3f3e57-e692-4d13-b586-620cd7b25786%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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/2338b5241e090ea7c9e6afbd0ae17d28%40mountainminds.com.

Reply via email to