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

On 2015-08-18 10:46, [email protected] wrote:
On Monday, 17 August 2015 20:10:06 UTC+2, Marc R. Hoffmann  wrote:
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




On 17 Aug 2015, at 18:00, [email protected] wrote:


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

--
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]. 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.

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

--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/7f28ce97576c35a937a3660c5033a3d3%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to