Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-474

requiring cobertura.rb casues all builds to be instrumented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.4
    • 1.5
    • None
    • None
    • I found this running with jruby on Ubuntu 10.04/32

    Description

      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
      <adam.crain@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
      >

      Attachments

        Activity

          People

            Unassigned Unassigned
            jadamcrain J Adam Crain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: