You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "J Adam Crain (JIRA)" <ji...@apache.org> on 2010/07/12 22:02:49 UTC

[jira] Created: (BUILDR-474) requiring cobertura.rb casues all builds to be instrumented

requiring cobertura.rb casues all builds to be instrumented
-----------------------------------------------------------

                 Key: BUILDR-474
                 URL: https://issues.apache.org/jira/browse/BUILDR-474
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: I found this running with jruby on Ubuntu 10.04/32
            Reporter: J Adam Crain


Hi Adam,

It seems to me you found a defect.  Instrumentation (i.e., the
"cobertura:instrument" task) is a dependency of the three tasks you
mention.  When I implemented the emma add-on and refactored the
cobertura add-on, it was my intention for it to work exactly as you
describe.

Could you file a bug in JIRA please?

lacton

On Mon, Jul 12, 2010 at 4:14 PM, Adam Crain
<ad...@greenenergycorp.com> wrote:
> Hi,
>
> Why does just requiring cobertura.rb automically instrument the classes for all buildr tasks?
>
> I would have imagined that this would happen only with the cobertura:html, cobertura:xml and cobertura:check tasks.
>
> If I don't want to instrument for normal builds, is my only recourse using another custom command line option to programmatically require cobertura?
>
> thanks!
> Adam
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.