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/CAON6PDjengXF1t3mzz%2BapJpfbn2zRCRnQZ0F0EQ-jY1Vk6y7JA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to