On Thursday, July 27, 2017 at 10:54:27 AM UTC+5:30, Marc R. Hoffmann wrote:
> Use the original classes from the JAR files to create your report. Note 
> that JaCoCo can directly read JAR files.
> 
> Regards,
> -marc
> 
> On 27.07.17 05:11, [email protected] wrote:
> > I have classes bundled into different jar, at IT(integration tests are ) 
> > phase, the server  ( glassfish server) is started with these jars in 
> > classpath and IT are run. I attach jacoco agent to server jvm process which 
> > creates a jacoco.exec files.
> >
> > I am currently using "classdumpdir"  to dump the classes in one particular 
> > folder and use that folder in report generation. The problem is on each run 
> > I get different number of classes in that folder, that changes the coverage 
> > value every time? Am I doing something wrong ?
> >

There are different modules of IT and are not structured in parent child setup, 
in order to get aggregated report & also to avoid complexities arising due to 
"runtime changes in classes", I thought of using classdumpdir attribute , and 
aggregating using Jenkins Jacoco plugin. 
Is there any reason as to why the class count value  changes between runs?

-- 
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/4ffb0680-d5e4-4138-88b4-9c6a68fd71ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to