From 290edf95275f82e674952b21d27b9f485f5a2418 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Fri, 17 Jan 2020 01:17:37 +0100 Subject: Config import: add to trace --- .../configurationRoot/d1/d11/d111/import1.config | 5 +++ .../configurationRoot/d1/d11/d111/lombok.config | 1 + .../resource/configurationRoot/err.txt | 2 + .../resource/configurationRoot/out.txt | 48 +++++++++------------- 4 files changed, 27 insertions(+), 29 deletions(-) create mode 100644 test/configuration/resource/configurationRoot/d1/d11/d111/import1.config (limited to 'test/configuration/resource/configurationRoot') diff --git a/test/configuration/resource/configurationRoot/d1/d11/d111/import1.config b/test/configuration/resource/configurationRoot/d1/d11/d111/import1.config new file mode 100644 index 00000000..2a38bda5 --- /dev/null +++ b/test/configuration/resource/configurationRoot/d1/d11/d111/import1.config @@ -0,0 +1,5 @@ +import missing +import import1.config +import ../d111/import1.config +lombok.accessors.prefix += z_ +lombok.accessors.prefix += f \ No newline at end of file diff --git a/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config b/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config index abf7eea0..fefcea42 100644 --- a/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config +++ b/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config @@ -1,2 +1,3 @@ +import import1.config clear lombok.accessors.chain lombok.accessors.prefix += m_ \ No newline at end of file diff --git a/test/configuration/resource/configurationRoot/err.txt b/test/configuration/resource/configurationRoot/err.txt index e69de29b..a9b3f8af 100644 --- a/test/configuration/resource/configurationRoot/err.txt +++ b/test/configuration/resource/configurationRoot/err.txt @@ -0,0 +1,2 @@ +Problems in the configuration files: +- Imported file does not exist: import missing (BASE/d1/d11/d111/import1.config:1) \ No newline at end of file diff --git a/test/configuration/resource/configurationRoot/out.txt b/test/configuration/resource/configurationRoot/out.txt index 8100fadb..8cdd9bca 100644 --- a/test/configuration/resource/configurationRoot/out.txt +++ b/test/configuration/resource/configurationRoot/out.txt @@ -2,26 +2,17 @@ Configuration for 'BASE/d1/d11'. # Emit a warning or error if @Accessors is used. lombok.accessors.flagUsage = ERROR -# BASE/d1/lombok.config: -# <'lombok.accessors.flagUsage' not mentioned> -# -# BASE/d1/d11/lombok.config: +# BASE/d1/d11/lombok.config (stopped bubbling): # 4: lombok.accessors.flagUsage = ERROR # Generate setters that return 'this' instead of 'void' (default: false). lombok.accessors.chain = false -# BASE/d1/lombok.config: -# <'lombok.accessors.chain' not mentioned> -# -# BASE/d1/d11/lombok.config: +# BASE/d1/d11/lombok.config (stopped bubbling): # 3: lombok.accessors.chain = false # Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters. lombok.accessors.prefix += f -# BASE/d1/lombok.config: -# <'lombok.accessors.prefix' not mentioned> -# -# BASE/d1/d11/lombok.config: +# BASE/d1/d11/lombok.config (stopped bubbling): # 5: lombok.accessors.prefix += f # Use this name for the generated logger fields (default: 'log'). @@ -34,37 +25,39 @@ Configuration for: # Emit a warning or error if @Accessors is used. lombok.accessors.flagUsage = ERROR -# BASE/d1/lombok.config: -# <'lombok.accessors.flagUsage' not mentioned> -# -# BASE/d1/d11/lombok.config: +# BASE/d1/d11/lombok.config (stopped bubbling): # 4: lombok.accessors.flagUsage = ERROR # +# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1): +# <'lombok.accessors.flagUsage' not mentioned> +# # BASE/d1/d11/d111/lombok.config: # <'lombok.accessors.flagUsage' not mentioned> # Generate setters that return 'this' instead of 'void' (default: false). clear lombok.accessors.chain -# BASE/d1/lombok.config: -# <'lombok.accessors.chain' not mentioned> -# -# BASE/d1/d11/lombok.config: +# BASE/d1/d11/lombok.config (stopped bubbling): # 3: lombok.accessors.chain = false # +# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1): +# <'lombok.accessors.chain' not mentioned> +# # BASE/d1/d11/d111/lombok.config: -# 1: clear lombok.accessors.chain +# 2: clear lombok.accessors.chain # Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters. +lombok.accessors.prefix += z_ lombok.accessors.prefix += f lombok.accessors.prefix += m_ -# BASE/d1/lombok.config: -# <'lombok.accessors.prefix' not mentioned> +# BASE/d1/d11/lombok.config (stopped bubbling): +# 5: lombok.accessors.prefix += f # -# BASE/d1/d11/lombok.config: +# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1): +# 4: lombok.accessors.prefix += z_ # 5: lombok.accessors.prefix += f # # BASE/d1/d11/d111/lombok.config: -# 2: lombok.accessors.prefix += m_ +# 3: lombok.accessors.prefix += m_ # Use this name for the generated logger fields (default: 'log'). clear lombok.log.fieldName @@ -77,10 +70,7 @@ clear lombok.accessors.flagUsage # Generate setters that return 'this' instead of 'void' (default: false). lombok.accessors.chain = true -# BASE/d1/lombok.config: -# <'lombok.accessors.chain' not mentioned> -# -# BASE/d1/d12/lombok.config: +# BASE/d1/d12/lombok.config (stopped bubbling): # 3: lombok.accessors.chain = true # Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters. -- cgit