Can report be made by passing sourcefiles arguments as jar(which have the .java files) ?

36 views
Skip to first unread message

shubh...@gmail.com

unread,
Aug 17, 2018, 1:46:13 AM8/17/18
to JaCoCo and EclEmma Users
Something like

java -jar jacococli.jar report jacoco.exec --classfiles payload.jar --sourcefiles sourcepayload.jar --html report

or

java -jar jacococli.jar report jacoco.exec --classfiles sourcepayload.jar --sourcefiles sourcepayload.jar --html report ?

Where the sourcepayload.jar have java files also..

Can a report be generated ?

Evgeny Mandrikov

unread,
Aug 17, 2018, 6:51:08 AM8/17/18
to JaCoCo and EclEmma Users
No.

"--sourcefiles" must specify directories that contain java source files in corresponding subdirectories representing packages.

shubh...@gmail.com

unread,
Aug 17, 2018, 7:22:13 AM8/17/18
to JaCoCo and EclEmma Users

OK, thanks for replying.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages