Can we exclude classes within file jacoco-agnet.properties?

It seems not working for me, when I try 

exclude=com.yourorg.yourapp.Application

or 

excludes=com.yourorg.yourapp.Application


On Thursday, March 17, 2016 at 7:59:32 AM UTC-7, Marc R. Hoffmann wrote:
>
> Hi,
>
> JaCoCo uses fully qualified names. Unless your classes actually reside in 
> the default package you should specify com.yourorg.yourapp.Application.
>
> Regards,
> -marc
>
> On 17.03.16 15:49, Sandra Gerberding wrote:
>
> Hi, 
>
> we use gradle jacoco plugin (with the actual version of jacoco "
> 0.7.6.201602180812"). 
> We want to exclude classes from the analysis and use the JaCoCo Task 
> extension, but it dosn't work. The command line params include the param 
> "excludes", but it dosn't exclude the classes from analysis.
>
> What's wrong with our configuration? 
>
> the resulting command line output:
> .....append=true,excludes=*Controller:Application:UrlMappings,.....
>
> build.gradle
>
> test {
>   jacoco {
>     excludes = ['*Controller',
>                 'Application',
>                 'UrlMappings']
>   }
> }
>
> -- 
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/ea1b1b4e-8221-489f-bd99-58cfe3f7f040%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/ea1b1b4e-8221-489f-bd99-58cfe3f7f040%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> -- 
> Marc [email protected] <javascript:>
> _______________________________________________
> Mountainminds GmbH & Co. KG
>
> Nussbaumstr. 4 * 80336 Muenchen * Germany 
> Phone/Fax +49-700-68664637 * 0700-MTNMINDS
>
> Registergericht Muenchen * HRA 80201
> Mountainminds Verwaltungs GmbH
> Registergericht Muenchen * HRB 143183
> Geschaeftsfuehrer Marc Hoffmann
>
>

-- 
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/b3dc983c-bceb-405d-864c-8fdebdda2583%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to