I'm also having troubles with generating a report on data collected from an
OSGi application (felix framework).
I'm starting my application with this agent configuration:
-javaagent:E:/java/jacoco/lib/jacocoagent.jar=output=tcpserver,includes=com.stibo.*,sessionid=jtpe,classdumpdir=dump
I then use the ant dump task to fetch a remote.exec file containing what I
presume is usage data.
After this, I use(through gradle) the ant report task to generate a report. I
configure the task to use the classdumpdir as this :
ant {
taskdef(name: "report", classname: "org.jacoco.ant.ReportTask", classpath:
configurations.jacoco.asPath)
report {
executiondata {
file(new File("remote.exec"))
}
structure(name: 'server') {
classfiles {
fileset(dir: "dump")
}
}
}
html(destdir: "report")
}
I get a report generated, but all usages are 0%, despite the fact that I'm
using the classdumpdir. Also, there's no sessions at all, when I click the
sessions link in the upper right hand corner.
Any ideas appreciated!
--
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].
For more options, visit https://groups.google.com/d/optout.