History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BCOV-27
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Grabowski
Reporter: Dave Schweisguth
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Bamboo Coverage Plugin

Plugin doesn't work with cobertura 1.9

Created: 13/Jun/07 11:10 AM   Updated: 14/Jun/07 01:14 PM
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: 1.0.3

Time Tracking:
Not Specified

Environment: Linux, Bamboo 1.1.2, cobertura 1.9

Labels:


 Description  « Hide
On per-build results page, build is green but the following error appears in the error summary:

The coverage plugin was unable to parse the coverage report file "coverage.xml" due to the error: http://cobertura.sourceforge.net/​xml/​coverage-03.dtd Nested exception: http://cobertura.sourceforge.net/​xml/​coverage-03.dtd

Guessing that this is due to a (very necessary, as it fixed some critical concurrency problems) upgrade to cobertura 1.9.



 All   Comments   Work Log   Change History   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Dan Grabowski - 13/Jun/07 10:46 PM
The xml parser (Xerces' SAX implementation used via Dom4j) was trying to load the DTD by accessing the URL provided. Since the DTD has not been published to that URL yet, this was failing. This would also have been an issue for anyone running Bamboo on a machine without internet connectivity. The report parsing has been updated to ignore DTDs when parsing reports for any of the coverage providers (emma, cobertura, or clover). This change is in the 1.0.3 release (available on the project confluence page).

Dave Schweisguth - 14/Jun/07 12:52 PM
It's working now. Thanks!

Dan Grabowski - 14/Jun/07 01:13 PM
Glad to hear it. Thanks for sticking with it through a couple of issues.