mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 08:15:20 +00:00
Config import: support .jar and .zip archives
This commit is contained in:
1 parent
290edf9527
commit
04523763df
13 files changed
+201
-21
No files matched your search
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
import ../d2/include.config
|
||||
import nonexisting
|
||||
|
||||
lombok.addGeneratedAnnotation = true
|
||||
@@ -0,0 +1 @@
|
||||
lombok.addJavaxGeneratedAnnotation = true
|
||||
@@ -0,0 +1,3 @@
|
||||
import d1/include.config
|
||||
import /illegal
|
||||
lombok.anyConstructor.addConstructorProperties = true
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
clear lombok.copyableAnnotations
|
||||
@@ -1,5 +1,6 @@
|
||||
import missing
|
||||
import import1.config
|
||||
import ../d111/import1.config
|
||||
import ../../../archives/a1.jar
|
||||
lombok.accessors.prefix += z_
|
||||
lombok.accessors.prefix += f
|
||||
@@ -1,3 +1,5 @@
|
||||
import import1.config
|
||||
import ../../../archives/a2.zip!reset.config
|
||||
clear lombok.accessors.chain
|
||||
lombok.accessors.prefix += m_
|
||||
lombok.accessors.prefix += m_
|
||||
lombok.copyableAnnotations += copy2
|
||||
@@ -2,4 +2,6 @@ config.stopBubbling=true
|
||||
|
||||
lombok.accessors.chain = false
|
||||
lombok.accessors.flagUsage = ERROR
|
||||
lombok.accessors.prefix += f
|
||||
lombok.accessors.prefix += f
|
||||
|
||||
lombok.copyableAnnotations += copy1
|
||||
@@ -1,2 +1,4 @@
|
||||
Problems in the configuration files:
|
||||
- Imported file does not exist: import missing (BASE/d1/d11/d111/import1.config:1)
|
||||
- Imported file does not exist: import missing (BASE/d1/d11/d111/import1.config:1)
|
||||
- Import is not valid: import /illegal (BASE/archives/a1.jar!lombok.config:2)
|
||||
- Imported file does not exist: import nonexisting (BASE/archives/a1.jar!d1/include.config:2)
|
||||
@@ -0,0 +1,2 @@
|
||||
jar -c -M -f archives/a1.jar -C archives/a1 .
|
||||
jar -c -M -f archives/a2.zip -C archives/a2 .
|
||||
@@ -28,9 +28,21 @@ lombok.accessors.flagUsage = ERROR
|
||||
# BASE/d1/d11/lombok.config (stopped bubbling):
|
||||
# 4: lombok.accessors.flagUsage = ERROR
|
||||
#
|
||||
# BASE/archives/a1.jar!d2/include.config (imported from BASE/archives/a1.jar!d1/include.config:1):
|
||||
# <'lombok.accessors.flagUsage' not mentioned>
|
||||
#
|
||||
# BASE/archives/a1.jar!d1/include.config (imported from BASE/archives/a1.jar!lombok.config:1):
|
||||
# <'lombok.accessors.flagUsage' not mentioned>
|
||||
#
|
||||
# BASE/archives/a1.jar!lombok.config (imported from BASE/d1/d11/d111/import1.config:4):
|
||||
# <'lombok.accessors.flagUsage' not mentioned>
|
||||
#
|
||||
# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1):
|
||||
# <'lombok.accessors.flagUsage' not mentioned>
|
||||
#
|
||||
# BASE/archives/a2.zip!reset.config (imported from BASE/d1/d11/d111/lombok.config:2):
|
||||
# <'lombok.accessors.flagUsage' not mentioned>
|
||||
#
|
||||
# BASE/d1/d11/d111/lombok.config:
|
||||
# <'lombok.accessors.flagUsage' not mentioned>
|
||||
|
||||
@@ -39,11 +51,23 @@ clear lombok.accessors.chain
|
||||
# BASE/d1/d11/lombok.config (stopped bubbling):
|
||||
# 3: lombok.accessors.chain = false
|
||||
#
|
||||
# BASE/archives/a1.jar!d2/include.config (imported from BASE/archives/a1.jar!d1/include.config:1):
|
||||
# <'lombok.accessors.chain' not mentioned>
|
||||
#
|
||||
# BASE/archives/a1.jar!d1/include.config (imported from BASE/archives/a1.jar!lombok.config:1):
|
||||
# <'lombok.accessors.chain' not mentioned>
|
||||
#
|
||||
# BASE/archives/a1.jar!lombok.config (imported from BASE/d1/d11/d111/import1.config:4):
|
||||
# <'lombok.accessors.chain' not mentioned>
|
||||
#
|
||||
# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1):
|
||||
# <'lombok.accessors.chain' not mentioned>
|
||||
#
|
||||
# BASE/archives/a2.zip!reset.config (imported from BASE/d1/d11/d111/lombok.config:2):
|
||||
# <'lombok.accessors.chain' not mentioned>
|
||||
#
|
||||
# BASE/d1/d11/d111/lombok.config:
|
||||
# 2: clear lombok.accessors.chain
|
||||
# 3: clear lombok.accessors.chain
|
||||
|
||||
# Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters.
|
||||
lombok.accessors.prefix += z_
|
||||
@@ -52,12 +76,24 @@ lombok.accessors.prefix += m_
|
||||
# BASE/d1/d11/lombok.config (stopped bubbling):
|
||||
# 5: lombok.accessors.prefix += f
|
||||
#
|
||||
# BASE/archives/a1.jar!d2/include.config (imported from BASE/archives/a1.jar!d1/include.config:1):
|
||||
# <'lombok.accessors.prefix' not mentioned>
|
||||
#
|
||||
# BASE/archives/a1.jar!d1/include.config (imported from BASE/archives/a1.jar!lombok.config:1):
|
||||
# <'lombok.accessors.prefix' not mentioned>
|
||||
#
|
||||
# BASE/archives/a1.jar!lombok.config (imported from BASE/d1/d11/d111/import1.config:4):
|
||||
# <'lombok.accessors.prefix' not mentioned>
|
||||
#
|
||||
# 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
|
||||
# 5: lombok.accessors.prefix += z_
|
||||
# 6: lombok.accessors.prefix += f
|
||||
#
|
||||
# BASE/archives/a2.zip!reset.config (imported from BASE/d1/d11/d111/lombok.config:2):
|
||||
# <'lombok.accessors.prefix' not mentioned>
|
||||
#
|
||||
# BASE/d1/d11/d111/lombok.config:
|
||||
# 3: lombok.accessors.prefix += m_
|
||||
# 4: lombok.accessors.prefix += m_
|
||||
|
||||
# Use this name for the generated logger fields (default: 'log').
|
||||
clear lombok.log.fieldName
|
||||
|
||||
Reference in new issue
Block a user