On Tuesday, June 27, 2023 at 10:49:36 PM UTC+5:30 Mehul Parmar wrote:

2. Generating a Jacoco exec without any exclusion and then applying 
exclusion from the command line. 

java -jar /path/to/jacoco-cli.jar report jacoco.exec --classfiles 
/path/to/classes --html /path/to/report --excludes='*'

Also when I run the second command,  I noticed the exclusion is not 
applying and I am getting the complete report as it is in jacoco.exec. Then 
what is the point of giving exclusion in report command?


As you can see in the documentation at 
https://www.jacoco.org/jacoco/trunk/doc/cli.html
and as well by executing

java -jar /path/to/jacoco-cli.jar report

The command line interface has no such parameter as "--excludes".

To exclude something using the command line interface remove it from the 
location specified by "--classfiles".

-- 
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/39276ab9-328d-4df5-b55a-2a7c9261f27en%40googlegroups.com.

Reply via email to