Assert.isTrue(!taskDirectory.mkdirs() || taskDirectory.exists());
// add task dir. to values so that all processors can access it
this.values.put(TASK_DIRECTORY_KEY, taskDirectory);
this.values.put(CLIENT_HTTP_REQUEST_FACTORY_KEY, new ConfigFileResolvingHttpRequestFactory(httpRequestFactory,
template.getConfiguration()));
this.values.put(TEMPLATE_KEY, template);
this.values.put(PDF_CONFIG, template.getPdfConfig());
this.values.put(SUBREPORT_DIR, jasperTemplateBuild.getAbsolutePath());