final ContentLocation targetRoot = targetRepository.getRoot();
// final DummyRepository dataRepository = new DummyRepository();
// final ContentLocation dataRoot = dataRepository.getRoot();
final HtmlOutputProcessor outputProcessor = new StreamHtmlOutputProcessor(report.getConfiguration());
final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
printer.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, filename, suffix));
printer.setDataWriter(null, null); //$NON-NLS-1$
printer.setUrlRewriter(new FileSystemURLRewriter());
outputProcessor.setPrinter(printer);
final StreamReportProcessor sp = new StreamReportProcessor(report, outputProcessor);
if (progressDialog != null)
{
progressDialog.setModal(false);