Hi Mich,

Have a look at:
http://www.nabble.com/dashboard---code-coverage-not-not-included-with-cobertura-2.2-to14354623s177.html#a14359864
Might be your case too.

Erez.

On Jan 16, 2008 7:50 AM, Mick Knutson <[EMAIL PROTECTED]> wrote:

> Looking through my mvn site:site logs, I notice:
>
> Cobertura: Error reading file
>
> C:\viewstore\esp_lynx_dap\esp\dap\utilities\common\common-a3\target\cobertura\cobertura.ser:
> net.sourceforge.cobertura.covera
> gedata.CoverageDataContainer; local class incompatible: stream classdesc
> serialVersionUID = 2, local class serialVersionUID = 2152686494816595840
> Cobertura: Error reading file
>
> C:\viewstore\esp_lynx_dap\esp\dap\utilities\common\common-exception\target\cobertura\cobertura.ser:
> net.sourceforge.cobertura
> .coveragedata.CoverageDataContainer; local class incompatible: stream
> classdesc serialVersionUID = 2, local class serialVersionUID =
> 2152686494816595840
> Cobertura: Error reading file
>
> C:\viewstore\esp_lynx_dap\esp\dap\utilities\common\common-jar\target\cobertura\cobertura.ser:
> net.sourceforge.cobertura.cover
> agedata.CoverageDataContainer; local class incompatible: stream classdesc
> serialVersionUID = 2, local class serialVersionUID = 2152686494816595840
> Cobertura: Error reading file
>
> C:\viewstore\esp_lynx_dap\esp\dap\utilities\common\common-logging\target\cobertura\cobertura.ser:
> net.sourceforge.cobertura.c
> overagedata.CoverageDataContainer; local class incompatible: stream
> classdesc serialVersionUID = 2, local class serialVersionUID =
> 2152686494816595840
> Cobertura: Error reading file
>
> C:\viewstore\esp_lynx_dap\esp\dap\utilities\services\logging\target\cobertura\cobertura.ser:
> net.sourceforge.cobertura.covera
> gedata.CoverageDataContainer; local class incompatible: stream classdesc
> serialVersionUID = 2, local class serialVersionUID = 2152686494816595840
> Cobertura: Error reading file
>
> C:\viewstore\esp_lynx_dap\esp\dap\utilities\services\logging-mdb\target\cobertura\cobertura.ser:
> net.sourceforge.cobertura.co
> veragedata.CoverageDataContainer; local class incompatible: stream
> classdesc
> serialVersionUID = 2, local class serialVersionUID = 2152686494816595840
>
>
>
>
> On Jan 15, 2008 9:48 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> > I have a multi-module project and before I upgraded to cobertura 2.3,
> the
> > main page aggregate all my modules. But now they all come up as zero:
> >
> > Afferent Coupling Average = 0.44
> > Nb Packages = 25 PackageAfferent CouplingLine CoverageBranch Coverage
> > org.delta.esp.dap.c2.claim20%0%org.delta.esp.dap.c2.claim 10%0%
> > org.delta.esp.dap.c2.claim.runtime10%0%
> > org.delta.esp.dap.c2.generateclaimidproxy.proxy.runtime1 0%0%
> >
> org.delta.esp.dap.c2.quadrant.codes10%0%org.delta.esp.dap.c2.splitclaim10%
> > 0% org.delta.esp.dap.c2.splitclaim.util10%0%
> > org.delta.esp.dap.c2.transform.util10%0%
> > org.delta.esp.dap.c2.transform.util 10%0%org.delta.esp.dap.c2.util10%0%
> >
> >
> >
> > But when I go directly to the cobertura test link under project reports,
> I
> > see the generated report fine:
> > <
> http://rc-sun66e.ut.dentegra.lab/site/1.0.1/c2/business-services/generate-claim-id/cobertura/frame-summary-org.delta.esp.dap.c2.claim.html
> >
> >
> >
> >
> >
> > org.delta.esp.dap.c2.claim<
> http://rc-sun66e.ut.dentegra.lab/site/1.0.1/c2/business-services/generate-claim-id/cobertura/frame-summary-org.delta.esp.dap.c2.claim.html
> >
> > 5 29% 41/143
>  > 0%0/54
> >
> >
> >
> >                 <plugin>
> >                     <groupId>org.codehaus.mojo</groupId>
> >                     <artifactId>cobertura-maven-plugin</artifactId>
> >                     <version>2.2</version>
> >
> >                     <configuration>
> >                         <formats>
> >                             <format>xml</format>
> >                             <format>html</format>
> >                         </formats>
> >
> >                         <instrumentation>
> >                             <ignores>
> >                                 <ignore>com/**/*Exception.class</ignore>
> >                                 <ignore>org/**/*Exception.class</ignore>
> >                                 <ignore>com/**/BaseObject.class</ignore>
> >                                 <ignore> org.apache.commons.logging.*
> > </ignore>
> >                             </ignores>
> >                             <excludes>
> >                                 <exclude>com/**/*Test.class</exclude>
> >                                 <exclude>org/**/*Test.class</exclude>
> >                                 <exclude>com/**/*Exception.class
> </exclude>
> >                                 <exclude>org/**/* Exception.class
> > </exclude>
> >
> <exclude>com/**/BaseObject.class</exclude>
> >                                 <exclude>org.apache.commons.logging.*
> > </exclude>
> >                             </excludes>
> >                         </instrumentation>
> >
> > .....
> >
> >             <plugin>
> >                 <groupId>org.codehaus.mojo</groupId>
> >                 <artifactId>dashboard-maven-plugin</artifactId>
> >                 <version>1.0-SNAPSHOT</version>
> >             </plugin>
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
>
>
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>

Reply via email to