Hi, Take a look on integration test for this feature in JaCoCo - https://github.com/jacoco/jacoco/blob/master/jacoco-maven-plugin.test/it/it-includes-excludes/pom.xml If some scenario doesn't work for you - provide minimalistic reproducer of a problem. This may greatly speedup process of investigations.
On Thursday, April 2, 2015 at 8:07:04 PM UTC+2, [email protected] wrote: > > On Thursday, April 2, 2015 at 1:41:27 PM UTC-4, [email protected] wrote: > > Hi all, > > I am having problem to get includes working in my jacoco pom.xml. I > searched around and found this issue: > https://github.com/jacoco/jacoco/issues/34 . It said includes should > have syntax as Java Name. > > So I will expect this will work: > > <includes> > > <include>com.**</include> > > </includes> > > > > But it doesn't work. > > > > It only works if if I put the whole thing is *: > > <includes> > > <include>*</include> > > </includes> > > > > Can someone give me an example to use includes to include all the class > under a package. Thanks for your help. > > > > > > Leo > > Note. I also tried: > <includes> > <include>com/**</include> > </includes> > > But it also didn't work -- 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/9ed9a79d-2fb9-4d12-88fb-871431d97724%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
