I have to write a .sh launching an UI application covered with Jacoco. On exit, a jacoco report must be generated.
I\'m not able to generate the jacoco.exec with thi
By using jacococli.jar from jacoco 0.7.9 version, now reports can be generated using command line. I was trying the same and able to generate the report using commandline. If you are able to generate jacoco.exec file successfully use below command to generate the report.
java -jar "your local path/jacococli.jar" report "your local path/jacoco.exec" --classfiles "project path to class files" --html "local path\jacoco-report" --name myReport --sourcefiles "project path\src\main\java"
You should be able to see report in html format. Reference [http://www.jacoco.org/jacoco/trunk/doc/cli.html]