Commit 1855f96d authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Document spring.config.additional-location should be used early"

See gh-26085
parent b0b1c04f
...@@ -630,8 +630,7 @@ The following example shows how to specify two locations: ...@@ -630,8 +630,7 @@ The following example shows how to specify two locations:
TIP: Use the prefix `optional:` if the <<boot-features-external-config-optional-prefix,locations are optional>> and you don't mind if they don't exist. TIP: Use the prefix `optional:` if the <<boot-features-external-config-optional-prefix,locations are optional>> and you don't mind if they don't exist.
WARNING: `spring.config.name`, `spring.config.location`, and `spring.config.additional-location` are used very early to WARNING: `spring.config.name`, `spring.config.location`, and `spring.config.additional-location` are used very early to determine which files have to be loaded.
determine which files have to be loaded.
They must be defined as an environment property (typically an OS environment variable, a system property, or a command-line argument). They must be defined as an environment property (typically an OS environment variable, a system property, or a command-line argument).
If `spring.config.location` contains directories (as opposed to files), they should end in `/` (at runtime they will be appended with the names generated from `spring.config.name` before being loaded). If `spring.config.location` contains directories (as opposed to files), they should end in `/` (at runtime they will be appended with the names generated from `spring.config.name` before being loaded).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment