You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Marko Sibakov (JIRA)" <ji...@apache.org> on 2009/12/18 09:39:18 UTC

[jira] Reopened: (BUILDR-163) cobertura:check

     [ https://issues.apache.org/jira/browse/BUILDR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marko Sibakov reopened BUILDR-163:
----------------------------------


I tried to use cobertura:check but it didn't work

cobertura.rb line 204 uses Cobertura.requires method and it does not exists anymore.

             task :check => [:instrument, :test] do
               Buildr.ant "cobertura" do |ant|
-                ant.taskdef :classpath=>Cobertura.requires.join(File::PATH_SEPARATOR), :resource=>"tasks.properties"
+                ant.taskdef :classpath=>Cobertura.dependencies.join(File::PATH_SEPARATOR), :resource=>"tasks.properties"

                 params = { :datafile => Cobertura.data_file }

I fixed that and got error.

  [taskdef] Could not load definitions from resource tasks.properties. It could not be found.
E, [2009-12-18T09:07:58.883105 #16366] ERROR -- : Error instantiating 'cobertura-check' task: Problem: failed to create task or type cobertura-check
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

Buildr aborted!
Problem: failed to create task or type cobertura-check
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Any idea?

> cobertura:check
> ---------------
>
>                 Key: BUILDR-163
>                 URL: https://issues.apache.org/jira/browse/BUILDR-163
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Extensions, Test frameworks
>    Affects Versions: 1.3.3
>            Reporter: Marko Sibakov
>             Fix For: 1.3.5
>
>         Attachments: cobertura-check.patch
>
>
> add support for cobertura:check task

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