I am generating the coverage on the JBoss project.
The report generates but there is no view source generated with colored line coverage.
The java files are in the fileset directory.
Thoughts?
Thanks
here is the report generation script
<jacoco:report>
<executiondata>
<file file="jacoco.exec"/>
</executiondata>
<structure name="mes-webservices-unittest">
<classfiles>
<fileset dir="${deploy.dir}/${project.name}.ear">
<include name="*.war"/>
<include name="*.jar"/>
</fileset>
</classfiles>
<sourcefiles encoding="Cp1252" >
<fileset dir=".." />
</sourcefiles>
</structure>
<html destdir="report"/>
<csv destfile="report/report.csv"/>
<xml destfile="report/report.xml"/>
</jacoco:report>
Make sure the following prerequisites are fulfilled to get source code highlighting in JaCoCo coverage reports:
I am guessing it has something to do with this statement "specified source folders must be the direct parent of the folders that define the Java packages".
Can I get an example of this structure?
The there are several projects in this system.
but a simplified view is as follows where src contains all the java files and dist contains the jars compiled with debug information.
+---CarrierService
| +---src
| +---target
| | +---dist
+---Common
| +---src
| +---target
| | +---dist
+---UnitTests
| +---src
| +---target