final File jrxmlFile = File.createTempFile("table-", JASPER_REPORT_XML_FILE_EXT, input.tempTaskDirectory);
JRXmlWriter.writeReport(templateDesign, jrxmlFile.getAbsolutePath(), Constants.DEFAULT_ENCODING);
final File buildFile = File.createTempFile("table-", JASPER_REPORT_COMPILED_FILE_EXT, input.tempTaskDirectory);
if (!buildFile.delete()) {
throw new PrintException("Unable to delete the build file: " + buildFile);
}
return this.jasperReportBuilder.compileJasperReport(buildFile, jrxmlFile).getAbsolutePath();
}