Eclemma core API

29 views
Skip to first unread message

tomas.c...@gmail.com

unread,
Aug 17, 2015, 12:00:14 PM8/17/15
to JaCoCo and EclEmma Users
Hi,

I need Eclemma core API. Is there a Maven repo for com.mountainminds.eclemma.core? I can't find it on central repo.

Thanks

Mountainminds

unread,
Aug 17, 2015, 2:10:06 PM8/17/15
to jac...@googlegroups.com
Hi,

as EclEmma is an Eclipse plug-in only we do not publish to Maven central.

For your Plug-in builds you can use the p2 repo at http://update.eclemma.org/

The coverage technology behind EclEmma (JaCoCo) is available from Maven central though, see http://www.eclemma.org/jacoco/trunk/doc/repo.html

Regards,
-marc


--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/6817345b-a4ce-45e7-9f5d-6cc08dfbff3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tomas.c...@gmail.com

unread,
Aug 18, 2015, 4:46:26 AM8/18/15
to JaCoCo and EclEmma Users
Hi Marc,

Thanks for the quick reply. The reason I need EclEmma core is not for plugin development; I am trying to export execution data programmatically. EclEmma's export functionality can take a merged exec file and produce a nice report across modules. I was wondering if there was a relatively simple Maven way of doing that, either with JaCoCo or EclEmma core functionalities. Currently, my idea is to simply add some maven dependencies in my app for purposes of producing overall HTML report on demand.

Thanks,
Toma

Marc Hoffmann

unread,
Aug 18, 2015, 4:54:49 AM8/18/15
to jac...@googlegroups.com
Hi Toma,

the EclEmma Core plug-in fully depends on the Eclipse JDT APIs to
traverse the project structure. Probably not something you have
available in your build. The JaCoCo module org.jacoco.report provides a
standalone API to create a report of any structure. Here is a simple
example:


http://www.eclemma.org/jacoco/trunk/doc/examples/java/ReportGenerator.java

The Ant task supports structured reports, here is how it is implemented
based on the org.jacoco.report API:


https://github.com/jacoco/jacoco/blob/master/org.jacoco.ant/src/org/jacoco/ant/ReportTask.java

Regards,
-marc

tomas.c...@gmail.com

unread,
Aug 18, 2015, 8:59:52 AM8/18/15
to JaCoCo and EclEmma Users
Thanks, Marc. I'll use ant ReportTask then, and rework it for my purposes. I've just hoped there was an easier way :)

Regards,
Toma

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