Cobertura: Difference between revisions

From EggeWiki
m (New page: Cobertura is giving me this error: <geshi> [cobertura-report] Cobertura 1.7 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Error reading file C:\dev\co...)
 
mNo edit summary
Line 8: Line 8:
</geshi>
</geshi>


Turns out JUnit is running with a later version than the one in Ant's classpath.
Turns out JUnit is running with a later version than the one in Ant's classpath.  I removed the 1.7 version from Eclipse, and this phase worked.  I also ran into an issues where classes were reporting 100%.  This is caused by the same problem.

Revision as of 03:41, 9 October 2007

Cobertura is giving me this error:

<geshi> [cobertura-report] Cobertura 1.7 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Error reading file C:\dev\cobertura.ser: net.sourceforge.cobertura.coveragedata.CoverageDataContainer; local class incompatible: stream classdesc serialVersionUID = 2, local class serialVersionUID = 2152686494816595840 [cobertura-report] Error: Unable to read from data file C:\dev\cobertura.ser </geshi>

Turns out JUnit is running with a later version than the one in Ant's classpath. I removed the 1.7 version from Eclipse, and this phase worked. I also ran into an issues where classes were reporting 100%. This is caused by the same problem.