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/docs/asciidoc/spring-boot-features.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1546,7 +1546,7 @@ You could also specify it on the command line by using the following switch: `--
1546
1546
The configprop:spring.profiles.active[] property follows the same ordering rules as other properties: The highest `PropertySource` wins.
1547
1547
This means that you can specify active profiles in `application.properties` and then *replace* them by using the command line switch.
1548
1548
1549
-
Sometimes, it is useful to have profil-specific properties that *add* to the active profiles rather than replace them.
1549
+
Sometimes, it is useful to have profile-specific properties that *add* to the active profiles rather than replace them.
1550
1550
The configprop:spring.profiles.include[] property can be used to unconditionally add active profiles.
1551
1551
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).
1552
1552
See the `setAdditionalProfiles()` method in {spring-boot-module-api}/SpringApplication.html[SpringApplication].
0 commit comments