* Creates a wf-log.txt file for the processed template.
* @param processingTemplate
*/
public static void createLogReferences(WorkflowTemplate processingTemplate){
ReportingLog repLog = processingTemplate.getWorkflowReportingLogger();
/* Now write the stuff to disk: */
repLog.reportAsFile();
File logFile = repLog.logAsFile();
System.out.println("Wrote logFile to: " + logFile.getAbsolutePath());
/* And return a result object: */
try {
URI outFolder = new URI("http",WorkflowTemplateHelper.getHostAuthority(),"/wee-gen/id-"+repLog.getResultsId(),null,null);
URL logFileURL = new URL(outFolder+"/wf-log.txt");
URL reportURL = new URL(outFolder+"/wf-report.html");
processingTemplate.getWFResult().setLog(logFileURL);
processingTemplate.getWFResult().setReport(reportURL);
} catch (MalformedURLException e) {