log.debug("Scanning " + id);
RuleBasedZipExtractor zipExtractor = new RuleBasedZipExtractor(basedir, log);
// add the matching/execution rules
zipExtractor.addRule("META-INF/cocoon/xpatch/*.xweb", xwebPatcher);
// extract all configurations files
zipExtractor.extract(lib);
} catch (IOException e) {
throw new DeploymentException("Can't deploy '" + lib.getAbsolutePath() + "'.", e);
}
}