Help need to generate cobertura report when we use WebSPhere 6. I have included the cobertura.ser file in the bin folder of websphere server that was insturmented and generated when i ran the build file. Started the server and stopped the server after some testing. But the cobertura report is showing 0% for all files.
Joined: Dec 09, 2003
Where should i add the cobertura.ser file in the Websphere
1. Build file generated the cobertura.ser file in the working dir of my workspace. 2. I have copied the cobertura.ser file and kept it in to the C:\Program Files\IBM\WebSphere\AppServer1\profiles\AppSrv01\bin folder. I.e. included the cobertura.ser file in the bin folder of websphere server that was insturmented and generated when i ran the build file.
3. Started the Wesphere server and deployed the application 4. Done some testing on the application 5. Stopped the server. But when i stopped the server the copbertura.file is not showing the latest time stamp in the bin folder of the websphere server and i think it is not loading and saving the tested insturmented cobertura.ser file. 6. Took the cobertura.ser file from the C:\Program Files\IBM\WebSphere\AppServer1\profiles\AppSrv01\bin folder and kept it in the cobertura home folder. 7. Ran the cobertura-report --destination ./report d:/MyWorkspace/project/src from the command prompt. 8. Cobertura report is showing 0% for all files. Please let me know where should i kept the cobertura.ser file that was instrumented and genreated by the build file in the webshpere so that it will update the cobertura.ser file with the tested ones when i stopped the server.
Or otherwise please let me know what should be done to get the cobertura report.
The cobertura report is generated and is working ok when i used with the tomcat6.0