final Resource resource = (Resource) i.next();
log(format("Loading execution data file %s", resource));
InputStream in = null;
try {
in = resource.getInputStream();
loader.load(in);
} catch (final IOException e) {
throw new BuildException(format(
"Unable to read execution data file %s", resource), e,
getLocation());
} finally {