From 337deb41eda15958d0f227171bdbd4a793593552 Mon Sep 17 00:00:00 2001 From: Wilhelm Kleiminger Date: Fri, 13 Nov 2020 16:15:41 +0100 Subject: [PATCH] Fixes bug where er diagram was not written to disk --- .../src/main/java/com/kaufland/CoachBaseBinderProcessor.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchbase-entity/src/main/java/com/kaufland/CoachBaseBinderProcessor.kt b/couchbase-entity/src/main/java/com/kaufland/CoachBaseBinderProcessor.kt index 99510c9c..e956380a 100644 --- a/couchbase-entity/src/main/java/com/kaufland/CoachBaseBinderProcessor.kt +++ b/couchbase-entity/src/main/java/com/kaufland/CoachBaseBinderProcessor.kt @@ -64,7 +64,7 @@ class CoachBaseBinderProcessor : AbstractProcessor() { documentationGenerator = DocumentationGenerator(it, processingEnvironment.options.getOrDefault(FRAMEWORK_DOCUMENTATION_FILENAME_OPTION_NAME, "default.html")) } processingEnvironment.options[FRAMEWORK_ENTITY_RELATIONSHIP_PATH_OPTION_NAME]?.let { - entityRelationshipGenerator = EntityRelationshipGenerator(it, processingEnvironment.options.getOrDefault(FRAMEWORK_ENTITY_RELATIONSHIP_FILENAME_OPTION_NAME, "default.html")) + entityRelationshipGenerator = EntityRelationshipGenerator(it, processingEnvironment.options.getOrDefault(FRAMEWORK_ENTITY_RELATIONSHIP_FILENAME_OPTION_NAME, "default.gv")) } super.init(processingEnvironment) } @@ -109,6 +109,7 @@ class CoachBaseBinderProcessor : AbstractProcessor() { }) documentationGenerator?.generate() + entityRelationshipGenerator?.generate() return true // no further processing of this annotation type }