Thank you very much , yes it clarified stuff a lot. Sorry for delayed
reply but I had some work to fix how jacoco is packed for fedora.
Jacoco is right now working well for unit--tests and "My application"
is providing nice comfortable merge and html+xml reporting.
However for integration tests I have run into interesting problem:
Icedtea-web is opensource version of javaws, so ti si java application
which is launching another java applications.
When I attach jacoco agent to this process, then application I'm
running in icedtea-web have measured coverage prety well, but no class
form icedtea-web itself is covered :(
Can it be caused by Xbootclaspath where whole icedtea-web is settled?
You can see our javaws launcher here:
http://icedtea.classpath.org/hg/icedtea-web/file/a1112e2c3bc6/launcher/javaws.in
During measuring of coverage by some reproducer I modify above file
just by agent and xbootclasspath so two lines changes eg like this:
...
LAUNCHER_BOOTCLASSPATH="-Xbootclasspath/a:/home/jvanek/icedtea-web-
image/share/icedtea-web/netx.jar:/usr/share/java/js.jar:/usr/share/
java/jacoco/org.jacoco.core.jar:/usr/share/java/jacoco/
org.jacoco.agent.jar:/usr/share/java/jacoco/org.jacoco.report.jar:/usr/
share/java/jacoco/org.jacoco.agent.rt.jar:/usr/share/java/jacoco/
org.jacoco.ant.jar:/usr/share/java/objectweb-asm/asm-all.jar"
...
COMMAND[k]="${JAVA}" ; k=1 ; COMMAND[k]="-javaagent:/usr/share/java/
jacoco/
org.jacoco.agent.rt.jar=excludes=org.junit.*:junit.*,destfile=jacoco_manual.exec"
...
I will soon push this report-generating/merging tool to icedtea-web
repository, and I was thinking if it is not worthy to push it rather
to jacoco upstream? I guess there must be need for such a tool.
If there can be need for such a command line middle man in jacoco
team, then I will point you to the icedtea-web push later, or I can
send this "application" for review and potential inclusion to jacoco
team itself.
Best regards, J
On Nov 20, 1:30 pm, "Marc R. Hoffmann" <
hoffm...@mountainminds.com>
wrote:
> >
https://github.com/jacoco/jacoco/blob/76f62ca24023d3522cfd806ff471e90...
> > <
https://github.com/jacoco/jacoco/blob/76f62ca24023d3522cfd806ff471e90...>