In addition to what was said by Marc, you also need to specify which report you wanna generate and where - see parameters "--html", "--xml" and "--csv".
On Sunday, December 10, 2017 at 9:24:53 PM UTC+1, Marc R. Hoffmann wrote: > > Hi Veena, > > for whatever reason the tool cannot find any class files at the specified > location. JaCoCo should be able to handle folders and ZIP (war) files > recursively. Maybe the path is wrong? For testing purposed you might try to > extract the class files for a directory and refer to the location of the > directory. > > Regards, > -marc > > > > > > On 2017-12-10 10:23, Veenavani Revanuru wrote: > > Hi, > when I generate the reprot form jacoco.exe by using cli command, I get > the foll. error: > ----------------------------------------------------------- > java -jar jacococli.jar report /scratch/coverage/coverage.jacoco > --classfiles <path> > > [INFO] Loading execution data file /scratch/coverage/coverage.jacoco. > [INFO] Analyzing 0 classes. > ---------------------------------------- > The path I am referring to the war file of our application, > > Can any tell me what is the issue? It does not generate any report > > Thanks, > Veena > > > > -- > 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/e5b62128-9ea6-426a-bc8d-14790cef04e3%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/e5b62128-9ea6-426a-bc8d-14790cef04e3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/6e947bad-8ef9-47e3-b125-0ad5f7265c9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
