Make default execution ressources temp dir dependent of the JVM OS user, in order...
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 28 Mar 2012 11:40:25 +0000 (11:40 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 28 Mar 2012 11:40:25 +0000 (11:40 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@5255 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/FileExecutionResources.java

index c85455ba9095ba7714e404d29639f7f2310b3b75..155a75825ac68a0d297ad1931e5dc654244b26a8 100644 (file)
@@ -39,8 +39,10 @@ public class FileExecutionResources implements ExecutionResources {
        public final static String DEFAULT_EXECUTION_RESOURCES_TMP_PATH = System
                        .getProperty("java.io.tmpdir")
                        + File.separator
-                       + "slc"
-                       + File.separator + DEFAULT_EXECUTION_RESOURCES_DIRNAME;
+                       + "slc-"
+                       + System.getProperty("user.name")
+                       + File.separator
+                       + DEFAULT_EXECUTION_RESOURCES_DIRNAME;
 
        private File baseDir;
        private ExecutionContext executionContext;