Hi,
Using jacoco to generate report.
Report getting generated .
But no link is coming for Source files.

Please find the below source code for report

task testJacocoReport(type: JacocoReport){

sourceDirectories = fileTree(dir: "$aps_home/src", exclude: 'test/**/*.java')
classDirectories = fileTree(dir: "$buildDir", exclude: 
'test-classes/**/*.class') 
executionData files("$aps_home/build/jacoco/jacoco.exec")
def reportDir = "build/jacocoReport" 
        reports {  
                xml{
                        enabled true
                        destination "$aps_home/build/jacoco.xml"
                }
                csv{
                        enabled true
                        destination "$aps_home/build/jacoco.csv"
                }
                html.destination = reportDir
                }
        doLast {
                println "Jacoco report for client created: 
file://${reportDir.toURI().path}"
        }
}


Please let me know where I am missing .
Regards
SS

-- 
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/5990b428-469e-4bcc-9c05-9b1a2cba71ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to