I am trying to get coverage results from tests run in tomcat.  I am using 
ant and the jacoco ant tasks to define the agent.
The value of the agent property is as follows, and it is passed vy 
JAVA_OPTS to tomcat
-javaagent:/tmp/jacocoagent6518525569979176026.jar=append=true,includes=com.demandware*:dw*:TopLevel*,output=tcpserver,address=*,port=6000

when I do netstat -ano I see the following line.
tcp        0      0 :::6000                     :::*                       
 LISTEN   

When ant calls the dump task it just hangs.  I don't see  data being 
written to the file and the call does not return to the ant script.

This is the ant call
<jacoco:dump address="*" port="${jacoco.tcpport}" reset="true" 
dump="${do.coverage.it}" destfile="${dw.global.jacoco.it.coverage.file}" 
append="true"/>
These are the values (I echo them to the log)
jacoco:dump address=* port=6000 dump=true append=true 
destfile=/srv/jenkins/workspace/gstewart.ecom.coverage/server/build/reports/tests/int/it-jacoco.exec

How do I troubleshoot this?  What should I be doing differently?
Thanks
Gail

-- 
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.

Reply via email to