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] <mailto:[email protected]>. 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 Hoffmann
[email protected]
_______________________________________________
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/56EAC652.1010202%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to