From 4ed0b22bbe7c42698a0d6d66e967797551aaa408 Mon Sep 17 00:00:00 2001 From: ulrich Date: Sun, 20 Jun 2021 11:07:08 +0000 Subject: [PATCH] Package fertiggestellt --- src/de/uhilger/httpserver/adoc/AdocActor.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/httpserver/adoc/AdocActor.java b/src/de/uhilger/httpserver/adoc/AdocActor.java index 66bbe00..eda9c5c 100644 --- a/src/de/uhilger/httpserver/adoc/AdocActor.java +++ b/src/de/uhilger/httpserver/adoc/AdocActor.java @@ -74,6 +74,7 @@ die HTML-Datei noch nicht existiert */ if(!htmlfile.exists() || adocfile.lastModified() > htmlfile.lastModified()) { + logger.fine("calling transform for " + absname); transform(absname); } @@ -121,6 +122,7 @@ * nach PDF transformiert werden soll */ private void transform(String fileName, String backend) { + logger.fine("fileName: " + fileName + ", backend: " + backend); Map<String, Object> attributes; File outFile = new File(fileName); String thisDirName = outFile.getParent(); @@ -150,9 +152,14 @@ .attributes(attributes).asMap(); } + File adcf = new File(fileName); + logger.fine("before asciidoctor create, adcf: " + adcf.getAbsolutePath()); Asciidoctor asciidoctor = create(); + logger.fine("asciidoctor created."); asciidoctor.requireLibrary("asciidoctor-diagram"); - asciidoctor.convertFile(new File(fileName), options); + logger.fine("asciidoctor requireLibrary diagram passed."); + logger.fine("calling asciidoctor.convert for file " + adcf.getAbsolutePath()); + asciidoctor.convertFile(adcf, options); } } -- Gitblit v1.9.3