I'd like to create a simple servlet to expose jacoco execution data and a
couple JMX operations over HTTP, in order to capture code coverage data for
Sling Junit tests executed in a standalone integration test server where
general remote access to a JMX port or to the filesystem is restricted.

It would make sense to simply embed the org.jacoco.agent.rt.IAgent
interface [1] in org.apache.sling.junit.core since that should be all that
is needed to interact with the jacoco agent if it is available, but I'm not
sure if there are any license implications that should be considered first,
since it is released under the Eclipse Public License.

Would anyone be able to comment on that or the general approach before I
start down this path?

[1]
http://www.eclemma.org/jacoco/trunk/doc/api/org/jacoco/agent/rt/IAgent.html

Thanks,

Mark Adamcin
http://adamcin.net/

Reply via email to