From: Prafull C. <pra...@gm...> - 2014-05-14 05:39:52
|
Hi Team, I need help on below scenario with Tomcat container. I am using Corbetura-2.0.3 with java 1.7. 1. I have instrumented the application .war and deployed in Tomcat web container. 2. Added cobertura.ser file with code coverage (0%) 3. Added tag in batch file in tomcat catalina opts and -XX:-UseSplitVerifier -Dnet.sourceforge.cobertura.datafile=C:\Program Files\apache-tomcat-7.0.37\webapps\bin\cobertura.ser for execution. 4. Start the tomcat using startup.bat 5. Run the test cases. 6. Stop the tomcat using shutdown.bat 7. But now, the problem occurs.. After stopping the tomcat cobertura.ser doesn't update the result file with metadata for code coverage. Please provide help on below questions: 1. How i can get updated cobertura.ser result file after stopping tomcat? 2. What settings or parameters need to set in tomcat? Regards, Prafull Chauvhan |