From 47c8739d4cb744240ce9080249e49cb094309b82 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Wed, 21 Aug 2019 17:47:49 +0200 Subject: [PATCH] DATAJDBC-405 - Fixes asciidoctor includes. Includes from Spring Data Commons failed because they where made relative from the asciidoc documents. But the documents get moved before asciidoc is executed. Corrected the environment variable used for building the reference to account for this. Removed one manual fix which breaks with the proper fix. --- src/main/asciidoc/index.adoc | 2 +- src/main/asciidoc/jdbc.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc index cff36596a..329bfcaed 100644 --- a/src/main/asciidoc/index.adoc +++ b/src/main/asciidoc/index.adoc @@ -4,7 +4,7 @@ Jens Schauder, Jay Bryant, Mark Paluch, Bastian Wilhelm :revdate: {localdate} :javadoc-base: https://docs.spring.io/spring-data/jdbc/docs/{revnumber}/api/ ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1600]] -:spring-data-commons-docs: ../../../../spring-data-commons/src/main/asciidoc +:spring-data-commons-docs: ../../../../../spring-data-commons/src/main/asciidoc :spring-framework-docs: https://docs.spring.io/spring-framework/docs/{springVersion}/ (C) 2018-2019 The original authors. diff --git a/src/main/asciidoc/jdbc.adoc b/src/main/asciidoc/jdbc.adoc index a8e62202e..f5318752b 100644 --- a/src/main/asciidoc/jdbc.adoc +++ b/src/main/asciidoc/jdbc.adoc @@ -613,7 +613,7 @@ The following table describes the available events: WARNING: Lifecycle events depend on an `ApplicationEventMulticaster`, which in case of the `SimpleApplicationEventMulticaster` can be configured with a `TaskExecutor`, and therefore gives no guarantees when an Event is processed. -include::../{spring-data-commons-docs}/entity-callbacks.adoc[leveloffset=+1] +include::{spring-data-commons-docs}/entity-callbacks.adoc[leveloffset=+1] [[jdbc.entity-callbacks]] === Store-specific EntityCallbacks