On Tuesday, December 5, 2017 at 8:22:42 AM UTC+1, [email protected] 
wrote:
>
> Thanks for your reply.
> I'm using the latest version of jacoco 0.7.9.
> I made sure the exec file generated is not empty its around 50MB,
> I write the reports to html forms using the lines below:
>
> DumpCoverage cover = new DumpCoverage();
> cover.createCoverageDump(tcpserver, port, coverageResultPath + "/" + 
> coverageDumpFileName, append, retryCount);
>
> // create the coverage resport
> final ReportGenerator generator3 = new ReportGenerator(coverageResultPath, 
> coverageDumpFileName, classesDirectory,
>    sourcesDirectory);
> generator3.create();
>
> Im using jacoco-maven plugin 0.7.9 for writing the reports.
>

I don't get why you are claiming usage of jacoco-maven-plugin for 
generation of report and at the same time provide some snippet of custom 
code to do this?
 

> I can get the list of classes and functions, only problem is that it 
> remains the same with 0 coverage even after performing some actions on the 
> webapplication
>
> This was working before with tomcat 7 previously.
>
> I dont get any sort of warning or error message. Is there any sort of logs 
> I can check for it?
>

If you use your own code for generation of report, then how we can tell 
which logs/warnings you should check?

Anyway as was explained before: please check that classes used during 
generation of the report are the same as were deployed into tomcat (by 
exploring "sessions" page in the report as was explained before) - this is 
most common mistake.
 

> Please let me know if there is any compatibility issues with tomcat 8
>

As far as I know there is no compatibility issue with Tomcat 8 and people 
successfully use JaCoCo with it.

Alternatively please provide *minimal*, but *full* and *complete* and *easily 
runnable* example ( https://stackoverflow.com/help/mcve ) that demonstrates 
your difficulty.

-- 
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/6ac01ea5-fd57-45e0-8318-6e29283c0be3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to