]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/FileExecutionResources.java
Refactor runtime
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / FileExecutionResources.java
index 361cede76ee3e17979433316a748e0495e056ef6..0debe45fbd857da89c54fdf61c8f79b21935c4f4 100644 (file)
@@ -120,8 +120,12 @@ public class FileExecutionResources implements ExecutionResources {
 
                if (withExecutionSubdirectory) {
                        Assert.notNull(executionContext, "execution context is null");
-                       String path = baseDir.getPath() + File.separator
-                                       + sdf().format(executionContext.getCreationDate())
+                       String path = baseDir.getPath()
+                                       + File.separator
+                                       + sdf()
+                                                       .format(
+                                                                       executionContext
+                                                                                       .getVariable(ExecutionContext.VAR_EXECUTION_CONTEXT_CREATION_DATE))
                                        + executionContext.getUuid();
                        File executionDir = new File(path);