From: Matt K. <mat...@gt...> - 2005-08-25 12:34:46
|
Hi, I'm trying to use the cobertura merge task and I'm having a little trouble. The project that I am working on has multiple subprojects, and I instrument and run the unit test for each subproject. The coverage.ser files are put in $BR/$PROJ_NAME, so $BR/proj1/coverage.ser, $BR/proj2/coverage.ser, etc.... After I generate these files I try to merge them using: <cobertura-merge toDir="${build.dir}"> <fileset dir="${project.build.root}/proj1"> <include name="**/coverage.ser" /> </fileset> <fileset dir="${project.build.root}/proj2"> <include name="**/coverage.ser" /> </fileset> <fileset dir="${project.build.root}/proj3"> <include name="**/coverage.ser" /> </fileset> <fileset dir="${project.build.root}/proj4"> <include name="**/coverage.ser" /> </fileset> </cobertura-merge> but there is no ${project.build.root}/coverage.ser, so my cobertura-report task fails. I'm using ant-1.6.2, java 1.5.0_04, and cobertura-1.6. What am I missing? TIA for any help, -Matt Kurjanowicz |