Sorry, I found the correct config for using Cobertura after reading further in 
the reference for 1.4.1:

require 'buildr/java/cobertura'



On Sep 6, 2010, at 7:55 AM, Mark Petrovic wrote:

> I looked with interest on this command in the 1.4.1 buildr reference
> 
> $ buildr test cobertura:html
> 
> but found it produced this when invoked:
> 
> Buildr aborted!
> RuntimeError : Don't know how to build task 'cobertura:html'
> 
> I tried to remedy with a best guess
> 
> $ sudo gem install cobertura 
> ERROR:  Could not find a valid gem 'cobertura' (>= 0) in any repository
> 
> (would have much preferred 
> 
> $ sudo gem install cobertura --dryrun
> 
> but that option apparently does not exist with 'install'.
> ) 
> 
> What prerequisite steps do I need to perform to run cobertura coverage on my 
> code?
> 
> 
> --
> Mark Petrovic
> 
> 


--
Mark Petrovic


Reply via email to