Hi,
did you have a look at our FAQ?
http://www.eclemma.org/jacoco/trunk/doc/faq.html
Why does the coverage report not show highlighted source code?
Make sure the following prerequisites are fulfilled to get source code
highlighting in JaCoCo coverage reports:
* Class files must be compiled with debug information to contain line
numbers.
* Source files must be properly supplied at report generation time.
I.e. specified source folders must be the direct parent of the
folders that define the Java packages.
Please especially check whether the last point is fulfilled.
Regards,
-marc
On 08.12.16 18:23, [email protected] wrote:
Setup is JBoss 4.3 running a project with unit tests being run via ant.
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>
--
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/b83f689f-fea5-7add-42b4-ea40b1465b67%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.