Your websphere probably runs on IBM's JVM, which needs the following additional VM parameter to work with JaCoCo:

  -Xshareclasses:none

See FAQ: http://www.eclemma.org/jacoco/trunk/doc/faq.html

Regards,
-marc

On 10.03.15 09:11, [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/54FF0E80.2000603%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to