You need a client to “dump” the data. There is a Ant task, a Maven goal and a 
command line version. See documentation.


> On 5. Oct 2020, at 18:31, raviteja y <[email protected]> wrote:
> 
> Hi Marc,
> 
> Thanks for your reply. If I want to see what data is collected at tcp port 
> how can I check it?
> 
> Regards,
> Ravi
> 
> On Monday, 5 October 2020 at 11:26:28 UTC-5 Marc R. Hoffmann wrote:
> 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 
> <https://www.jacoco.org/jacoco/trunk/doc/agent.html>
> 
> Regards,
> -marc
> 
> 
>> On 5. Oct 2020, at 18:22, raviteja y <[email protected] 
>> <applewebdata://5827F2EF-9D95-4373-B049-96B2ECB8E34A>> 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] 
>> <applewebdata://5827F2EF-9D95-4373-B049-96B2ECB8E34A>.
>> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/a6bb66ed-ffc2-4262-a77a-52dd7b0f1c11n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/a6bb66ed-ffc2-4262-a77a-52dd7b0f1c11n%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/3BB033CF-199C-48CB-BA73-202B35BE8659%40mountainminds.com.

Reply via email to