Hi, because with the parameter “output” you define the agent outputs coverage data. If you specify “file” a file ist written. If you specify “tcpserver” the agent opens a TCP port where the data can be collected from.
See documentation: https://www.jacoco.org/jacoco/trunk/doc/agent.html Regards, -marc > On 5. Oct 2020, at 18:22, raviteja y <[email protected]> wrote: > > Hi there, > > I am trying to created jaococ code coverage while running the application on > my local host. For that in my jvm configuration I made changes like below and > start the application. But jacoco.exec is not creating. But with same command > and if I give output=file it's generating jacoco.exec file. what's the reason > it's not creating when output=tcpserver. Can some one one pl help me? > > -javaagent:<pathtojacoco>/org.jacoco.agent-0.8.5-runtime.jar=port=6300,destfile=<pathtojacocoexec>/target/jacoco-ft.exec,output=tcpserver > > Appreciate your help! > > > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/628f8f93-2bab-4826-8705-8651d5a8fb00n%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/628f8f93-2bab-4826-8705-8651d5a8fb00n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/822194C4-C804-4B5A-8C74-91BA36F67E2D%40mountainminds.com.
