Hi all,

I had configured to integrate jacoco with Jenkins to get the code coverage. 
However I only got the line of codes but never got the line of codes 
covered.
In the setenv.sh of tomcat I have defined something like this,
CATALINA_OPTS="$CATALINA_OPTS 
-javaagent:/usr/local/oms-refund-tomcat/lib/jacocoagent.jar=output=tcpserver,append=true,dumponexit=false,classdumpdir=/usr/local/oms-refund-tomcat/classes-cov/,includes=com/test/poms/**,address=*"

I saw that my tomcat was shutting down forcefully because of which I feel 
that the code coverage data was never generated. Having this issue, I 
planned to shift to tcpserver output.

Here I see the port 6300 is listening. I tried to do nc on my server on 
port 6300 and tried to redirect it to a exec file but nothing was 
generated. I saw somewhere that we have to request for the dump in case of 
tcpserver using ant/maven.
I am using maven. How can I request for dump?

-- 
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/6419668c-7b71-4efe-9f01-7f7567a2b4aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to