From a505a52f503f0bc84387fda1910c2a437a4709eb Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Fri, 06 Apr 2018 17:42:03 +0000
Subject: [PATCH] catalina.base bei collect ergaenzt

---
 src/de/uhilger/wbx/WbxUtils.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/de/uhilger/wbx/WbxUtils.java b/src/de/uhilger/wbx/WbxUtils.java
index f2b7a1f..775feb3 100644
--- a/src/de/uhilger/wbx/WbxUtils.java
+++ b/src/de/uhilger/wbx/WbxUtils.java
@@ -95,6 +95,9 @@
     Bild bild = new Bild();
     //WbxUtils wu = new WbxUtils();
     String basis = getJNDIParameter(WBX_FILE_BASE, WbxUtils.EMPTY_STRING);
+    if(basis.equals(WbxUtils.EMPTY_STRING)) {
+      basis = getWbxDataDir().getAbsolutePath();
+    }    
     String pubDirName = getJNDIParameter(WbxUtils.WBX_PUB_DIR_NAME, WbxUtils.WBX_DEFAULT_PUB_DIR_NAME);
     String pubUrlName = getJNDIParameter(WbxUtils.WBX_PUB_URL_NAME, WbxUtils.WBX_DEFAULT_PUB_URL_NAME);
     String relPath = relativePath.replace(pubUrlName, pubDirName);
@@ -192,6 +195,7 @@
    * @param dateizaehler 
    */
   public void collectFiles(File dir, int tiefe, List beitraege, int maxTiefe, int maxBeitraege) {
+    logger.fine(dir.getAbsolutePath());
     List dirs = new ArrayList();
     List beitraegeHier = new ArrayList();
     File[] files = dir.listFiles();

--
Gitblit v1.9.3