printer.setDataWriter(targetRoot, new DefaultNameGenerator(targetRoot, "content"));
printer.setUrlRewriter(new FileSystemURLRewriter());
outputProcessor.setPrinter(printer);
final FlowReportProcessor sp = new FlowReportProcessor(report, outputProcessor);
sp.processReport();
sp.close();
}
catch (ContentIOException e)
{
throw new IOException("Failed to get or create the repository-root.");