Hello Marc, Finally I am able to generate jacoco.exec file. Thanks for your help. it has created after tomcat shutdown. now I want to create html report from exec file but I have question whether class files are required for it or I can generated it without class files. how I can generate the reports?
On Wed, Nov 18, 2015 at 4:29 PM, Sushant Gaikwad <[email protected] > wrote: > Hello Marc, > > I am still not able to generate .exec file with the configuration > mentioned in doc. > Please help me. am I on the correct path or anything is missing. > > On Thu, Oct 29, 2015 at 12:39 PM, <[email protected]> wrote: > >> On Wednesday, 28 October 2015 13:51:11 UTC+5:30, Marc R. Hoffmann wrote: >> > If you use the official distriinution this is not the agent JAR file. It >> > would be >> > >> > /home/ramanuj/jacoco-0.7.4.201502262128/lib/jacocoagent.jar >> > >> > See dosumentation: http://eclemma.org/jacoco/trunk/doc/agent.html >> > >> > Regards, >> > -marc >> > >> > >> > >> > On 2015-10-27 11:57, [email protected] wrote: >> > > I have attached agent by adding JAVA_OPTS entry in .bashrc >> > > >> > > JAVA_OPTS="$JAVA_OPTS >> > > >> -javaagent:/home/ramanuj/jacoco-0.7.4.201502262128/lib/org.jacoco.agent-0.7.4.201502262128.jar=destfile=/home/ramanuj/jococo_report/jacoco.exec" >> > > export JAVA_OPTS >> > > >> > > when test execution ends it doesnot create files. >> >> Hello Marc, >> >> Thanks, Thanks lot for your reply. >> We are using LISA test tool for writing function tests and executes >> them using GUI or command line, not through ANT or Maven. >> I want while executing tests JaCoCo agent should capture coverage as I >> have attached it to JVM. >> >> I have seen lot documentation but examples available is not useful to >> me. >> I have attached agent with >> JAVA_OPTS="$JAVA_OPTS >> -javaagent:/home/ramanuj/Downloads/jacoco0.7.4/lib/jacocoagent.jar=destfile=/home/ramanuj/Downloads/jacoco_report/jacoco.exec" >> export JAVA_OPTS >> >> but still jacoco.exec file is not generated. I am not getting where is >> the problem >> >> am I on correct path? please guide me. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "JaCoCo and EclEmma Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jacoco/jPgGPzgKyws/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jacoco/68209992-ca08-439d-bc47-b4dc7805d8e0%40googlegroups.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Thanks & Regards, > Sushant Gaikwad > > -- Thanks & Regards, Sushant Gaikwad -- 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/CAHFTv_jb2V2Ubew3BO6mxhbHhb%2Bi9opqUCvA3wb6pPM0Vzgb6A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
