From 42e75e66acc3fbd0b341d7ce05efa2fa5e5ca319 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Wed, 13 Mar 2013 09:36:05 +0000
Subject: [PATCH] making creation of incoming directory more robust

SVN: 28603
---
 .../java/ch/systemsx/cisd/etlserver/ThreadParameters.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java b/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java
index 96094c995dc..b9aa9c08b14 100644
--- a/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java
+++ b/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java
@@ -295,7 +295,7 @@ public final class ThreadParameters
     {
         if (createIncomingDirectories && incomingDataDirectory.exists() == false)
         {
-            incomingDataDirectory.mkdir();
+            incomingDataDirectory.mkdirs();
             operationLog.info("Created incoming directory '" + incomingDataDirectory + "'.");
         }
         if (incomingDataDirectory.isDirectory() == false)
-- 
GitLab