You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1442,7 +1442,7 @@ You could also specify it on the command line by using the following switch: `--
1442
1442
The configprop:spring.profiles.active[] property follows the same ordering rules as other properties: The highest `PropertySource` wins.
1443
1443
This means that you can specify active profiles in `application.properties` and then *replace* them by using the command line switch.
1444
1444
1445
-
Sometimes, it is useful to have profil-specific properties that *add* to the active profiles rather than replace them.
1445
+
Sometimes, it is useful to have profile-specific properties that *add* to the active profiles rather than replace them.
1446
1446
The configprop:spring.profiles.include[] property can be used to unconditionally add active profiles.
1447
1447
The `SpringApplication` entry point also has a Java API for setting additional profiles (that is, on top of those activated by the configprop:spring.profiles.active[] property).
1448
1448
See the `setAdditionalProfiles()` method in {spring-boot-module-api}/SpringApplication.html[SpringApplication].
0 commit comments