I have a project that has four components; the project has its own "pom.xml" 
file and each of the four components has its own "pom.xml" file.  The group I 
work with needs to know what its code coverage is, and they're using JaCoCo to 
calculate that.  Right now JaCoCo is saying it has 0.0% code coverage, which my 
lead informs me is impossible.

I wrote up a sample project and ran JaCoCo on it, and it produced a 
"jacoco.xml" file that had lots of coverage information in it.  On the other 
hand, the only "jacoco.xml" file under my project's directory has contents:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd">
<report name="Tree Component Tests (using Behavior Recording)">
  <sessioninfo id="A-1007000-f82ccd56" start="1389627867509"
               dump="1389627873157"/>
</report>

There's no coverage information in there at all.  The only difference that 
stands out between my sample project and this larger project is that the larger 
one has multiple components.  Is JaCoCo not meant to produce coverage 
information on projects that have multiple components?

I apologize in advance to Marc Hoffmann.  He's been helping me significantly in 
the other thread I started in this user group regarding this same problem.  But 
I have a Sell-Off in two days and kind of need to get this problem fixed, and 
that other thread just wasn't doing the job.

I ask again, it JaCoCo not meant to work on projects that have multiple 
components?

Kevin S

-- 
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/groups/opt_out.

Reply via email to