I am trying to generate code coverage for my application that is deployed on Weblogic server.
*There are many project deployed as library but I need coverage for selected project.
Problem : jacoco code coverage is not getting generated as ,eclipse eclema plugin not showing any coverage for application of selected project.
Step to reproduce :
set Weblogic server argument (as mention below)and start weblogic server
--------------------------------------------------------------------------
-javaagent:/tmp/ashishb/jacocoJar/jacocoagent.jar=destfile=/tmp/ashishb/jacocoexec/jacoco.exec,output=tcpserver,address=omg616023.in.oracle.com,port=6300,classdumpdir=/tmp/ashishb/classdump,includes=com.XX.ck.XX.ggK*:com.XX.ck.XX.jacoco*
-----------------------------------------------------------------------------
Problem : jacoco code coverage for com.XX.ck.XX.ggK* not getting generated.
1) Eclema plugin is not showing Coverage, though in classdump location classes are generated and call has been made to application.
Note : my application is collection of many project which is deployed as library and WAR is making calls to libs.
Note : To test whether jacoco code coverage works with weblogic, deployed one small WAR and eclema is showing the coverage ...So there must be something in my application that is why jacoco code coverage is not working ..tried hard but no luck.
Please suggest me why jacoco code coverage is not getting generated ?
Mark
I am also facing the same issue...with similar settings, I see that we get the BI coverage which is part of weblogoic, but not the coverage for the applications deployed in weblogic
I use ant:dump command to get the execution data..I also tried the java client...Each time we do not get the appliation coverage....Are there any more settings to be done
Mark
I am also facing the same issue...with similar settings, I see that we get the BI coverage which is part of weblogoic, but not the coverage for the applications deployed in weblogic
I use ant:dump command to get the execution data..I also tried the java client...Each time we do not get the appliation coverage....Are there any more settings to be done
Eclema plugin is not showing Coverage, though in classdump location classes are generated and call has been made to application.