On Wednesday, 25 February 2015 14:55:49 UTC+5, [email protected]  wrote:
> I need to put Jacoco Library to the tomcat libs and add it as a part of its 
> runtime as per per understanding i will need to add JVM opt to the tomcat 
> startup scripts and use it as a proxy , is there any sufficient tutorial to 
> do this please help as i am getting confused that how to add this and get the 
> code coverage report

I wanted to archive CODE Coverage report, i wanted jacoco agent to start upon 
tom cat starts and close and tom cat close but by the end i wanted code 
coverage report, any how i menage to get the code coverage report by adding 
following command into tomcat catlina:

if "%1"=="stop" goto skip_agent
set JAVA_OPTS=%JAVA_OPTS% -javaagent:"C:\Program Files (x86)\Apache Software 
Foundation\Tomcat 7.0\lib\jacocoagent.jar=destfile=C:\Program Files 
(x86)\Apache Software Foundation\Tomcat 
7.0\lib\jacoco.exec,append=true,includes=com.softech.*"
:skip_agent


now i read the jacoco.exec file by importing it into eclipse with Ecllma 
plugin. 


please suggest if there is any other better way to read the report 

-- 
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/e4027364-e7dd-4673-be56-8dfc14a50b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to