Hi Rahul, quite simple is to install EclEmma in Eclipse and use Import->Other->Coverage Session: [image: Inline image 1] [image: Inline image 2]
This is very good to test the functionality of the jacoco agent before going on with other tools. bye frank On Tue, Mar 17, 2015 at 9:43 AM, <[email protected]> wrote: > Hi Frank, > Need some help on other 2 options of TCP Socket Server and Client way of > retrieving execution data? Where can I find some good examples or > procedures? > > Thanks, > Rahul > On Tuesday, March 10, 2015 at 5:26:26 PM UTC+5:30, Frank Krumm wrote: > > Did you end websphere? > > I read in doc: > > "The JaCoCo agent collects execution information and dumps it on request > or when the JVM exits. There are three different modes for execution data > ouput:File System: At JVM termination execution data is written to a local > file.TCP Socket Server: External tools can connect to the JVM and retrieve > execution data over the socket connection. Optional execution data reset > and execution data dump on VM exit is possible.TCP Socket Client: At > startup the JaCoCo agent connects to a given TCP endpoint. Execution data > is written to the socket connection on request. Optional execution data > reset and execution data dump on VM exit is possible." > > To my understanding exec is only written when JVM is stopped. I also saw > never a exec file with weblogic. But you can collect the information with > Eclemma Plugin for Eclipse or with maven jacoco module. Look for goal "dump" > > > > > > hth > > > > > > frank > > > > > > On Tue, Mar 10, 2015 at 9:11 AM, <[email protected]> wrote: > > I want to archive code coverage report for IBM websphere > > > > > > > > what i am doing is following below steps but i get no out put please > help? > > > > > > > > > > > > 1. I add this command in IBM setenv: if "%1"=="stop" goto skip_agent > > > > set JAVA_OPTS=%JAVA_OPTS% > -javaagent:"C:\IBM\WCDE_ENT70\JacocoLib\jacocoagent.jar=destfile=C:\IBM\WCDE_ENT70\JacocoLib\jacoco.exec,append=true,includes=com.*" > > > > :skip_agent > > > > > > > > 2. start the server and brows in local host > > > > > > > > 3. close the server > > > > > > > > after performing these steps i am not getting any out put report of > jacoco.exec > > > > > > > > but when i applied the same above steps for Tomcat it works fine and i > am able to get code coverage report in destination folder jacoco.exec > > > > > > > > -- > > > > 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/5cb75f0a-a631-4f4f-9427-6738e1684972%40googlegroups.com > . > > > > For more options, visit https://groups.google.com/d/optout. > > -- > 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/3dbe88b7-da6a-40a9-b505-83214fa33d3c%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAON6PDhDYx15OHD%2BGgjVZQFwKOqvJLjm3M%2BFOO7J1-7t07s5ww%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
