From 6720b65e8c3d886cf91c011e45578f70f0207973 Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Sun, 04 Mar 2018 14:05:03 +0000 Subject: [PATCH] Doku ergaenzt --- src/java/de/uhilger/filecms/web/Initialiser.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/java/de/uhilger/filecms/web/Initialiser.java b/src/java/de/uhilger/filecms/web/Initialiser.java index f6ced07..cda0ec7 100644 --- a/src/java/de/uhilger/filecms/web/Initialiser.java +++ b/src/java/de/uhilger/filecms/web/Initialiser.java @@ -111,10 +111,13 @@ if(!dataDir.exists()) { String srcPath = ctx.getRealPath("/"); // file-cms in webapps File srcDir = new File(srcPath, "/META-INF/daten/www"); + dataDir = new File(targetDirName); try { - FileUtils.copyDirectoryToDirectory(srcDir, new File(targetDirName)); + FileUtils.copyDirectoryToDirectory(srcDir, dataDir); srcDir = new File(srcPath, "/META-INF/daten/home"); - FileUtils.copyDirectoryToDirectory(srcDir, new File(targetDirName)); + FileUtils.copyDirectoryToDirectory(srcDir, dataDir); + srcDir = new File(srcPath, "/META-INF/daten/dav"); + FileUtils.copyDirectoryToDirectory(srcDir, dataDir); } catch (IOException ex) { logger.log(Level.SEVERE, null, ex); } -- Gitblit v1.9.3