getLocation());
}
}
private void loadExecutionData() {
final ExecFileLoader loader = new ExecFileLoader();
for (final Iterator<?> i = executiondataElement.iterator(); i.hasNext();) {
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 {
FileUtils.close(in);
}
}
sessionInfoStore = loader.getSessionInfoStore();
executionDataStore = loader.getExecutionDataStore();
}