Grails 1.3.7, cobertura and zip errors

When turning code-coverage on for my grails app, I suddenly started getting an error when cobertura was instrumenting my classes; unable to read zip file. Found someone with similar issues here, but I had to end up with a different patch. I added the closure onto the fileset request on line 122 of _GrailsClasspath.groovy. Yeah, its a grails problem… they assume everything is a jar or zip in a lib directory… guess its not true in a plugin I loaded. Anyways, here’s the patch I added:

    for (pluginLib in pluginLibDirs) {
        fileset(dir: pluginLib.file.absolutePath){

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s