You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Tal Rotbart <re...@gmail.com> on 2008/11/06 04:02:44 UTC

Re: cobertura:html

I'm encountering this same original problem (no aggregate cobertura report,
only individual one). I will attempt to isolate what in my buildfile is
causing it and report back.

Cheers,
Tal

On Thu, Sep 18, 2008 at 7:25 AM, lacton <la...@users.sourceforge.net>wrote:

> I'm unable to reproduce what you describe.
>
> I created two projects, 'foo' and 'bar'.
>
> buildfile is as follows:
> <code>
> require 'buildr/cobertura'
>
> define 'myproject' do
>        project.version = "1.0.0-SNAPSHOT"
>
>        define 'foo' do
>                package :jar
>        end
>
>        define 'bar' do
>                compile.with project('foo')
>                package :jar
>        end
> end
> </code>
>
> After running 'buildr _1.3.2_ clean cobertura:html', I get a cobertura
> html report in directory 'reports/cobertura/html'.  In this report, I
> see classes from both foo and bar projects.
>
> Could you tell us more about your project structure and what you're
> observing?
>
> Lacton
>
> On Tue, Sep 16, 2008 at 10:39 AM, Nicolas Modrzyk <he...@gmail.com>
> wrote:
> > Hi All,
> >
> > Has anyone notice that with buildr 1.3.2 the cobertura reports
> > generated for sub-projects are not aggregated but generated as
> > separate folders ?
> > In 1.2.10, running the same command the report was created depending
> > on the location of the execution of the command, so if run at the
> > root, it would generate an aggregated report of all the sub projects.
> >
> > I am just running the following command:
> >
> >    buildr clean cobertura:html
> >
> > Anything wrong I could be doing ?
> >
> > Niko,
>