Not at all, there is already example code for a simple command line utility for report generation:

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

Cheers,
-marc

On 27.04.14 21:08, J wrote:
But there is nothing to prevent me from using the API just like maven
or ant use it, right?

On Sun, Apr 27, 2014 at 2:51 PM, Marc R. Hoffmann
<[email protected]> wrote:
Nothing magic. It's just that JaCoCo does not yet provide a out-of-the-box
command line interface.

-marc


On 27.04.14 19:17, J wrote:
I don't understand. What's magical about Ant or Maven that they can do
that cannot happen from the command line?

Thanks

IK

On Sun, Apr 27, 2014 at 9:09 AM, Marc R. Hoffmann
<[email protected]> wrote:
Hi IK,

you can run your application with code coverage from the command line
using
the JaCoCo agent, see http://www.eclemma.org/jacoco/trunk/doc/agent.html

For report generation we do not (yet) have a command line option. You may
use the Maven or Ant integration.

Best regards,
-marc




On 27.04.14 08:49, Ina Krazosi wrote:

I'm trying to move from Emma to JaCoCo. For reasons beyond the scope of
this
message, I need to use it from the command line. Right now, I'm doing the
standard



java -cp $emmajar emma instr ...
java ... # run tests normally
java -cp $emmajar emma report ...

How can I achieve the same results with jacoco?

Thanks,

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


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

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

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

Reply via email to