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 this simple command :
java -jar ../binaries/editor.debug/application.jar -javaagent:/atgl/products/jacoco/0.6.3/lib/jacocoagent.jar=destfile=jacoco.exec
The first part of the command works fine and launch the program, but the -javaagent option doesn't generate report and the program doesn't launch. If I do a syntax error it's exactly the same behavior.
What's wrong with my command ?
Secondly, this command create a .exec file. How can I generate a .html report in command line ?