Solved it:
executiondata {
fileset(dir:
'/home/acsia/dev/gradle/gradle-android-jacoco-plugin/', includes: '**/*.ec')
}
FTW
On Friday, 14 March 2014 12:38:08 UTC, Carl-Gustaf Harroch wrote:
> Running ExecDump, I can see data for my coverage so I take it the problem is
> with the report...
>
>
>
> Any ideas?
>
>
>
> task report << {
>
> ant.taskdef(name: 'jacocoReport', classname: 'org.jacoco.ant.ReportTask',
> classpath: project.configurations.jacoco.asPath)
>
> ant.jacocoReport {
>
> executiondata {
>
> file('coverage.ec')
>
> }
>
> structure(name: 'Example Project') {
>
> classfiles {
>
> fileset(dir: 'original-classes')
>
> }
>
> sourcefiles {
>
> fileset(dir: 'java')
>
> }
>
> }
>
> html(destdir: '/tmp/report-Jacoco')
>
> }
>
> }
>
>
>
>
>
> On Friday, 14 March 2014 10:32:19 UTC, Carl-Gustaf Harroch wrote:
>
> > I am running JaCoCo with ant against Android. It is rather hackish for now
> > but I managed to get some exec data from a run. I get the following in the
> > exec when I cat it:
>
> >
>
> >
>
> > ÀÀlocalhost-8b69a769D¼°i_D¼°nRBYuúycom/android/tests/basic/Main%
>
> >
>
> >
>
> >
>
> > Where can I get info on parsing the above. The Main class and 2 methods
> > where tested but the report shows non visited class. Trying to understand
> > if the problem lies on instrumentation or reporting
--
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].
For more options, visit https://groups.google.com/d/optout.