Skip to content

Commit 956733f

Browse files
committed
docs: leave container-tomcat unchanged (java-cfenv is Spring Boot only)
Revert the cloud-profile reword in the Tomcat/WAR container doc: java-cfenv detects only Spring Boot 3.x/4.x apps, so it does not apply to plain Spring MVC WARs served by the Tomcat container. The four Spring Boot container docs keep the java-cfenv wording.
1 parent d1e0aac commit 956733f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/container-tomcat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The Tomcat Container allows servlet 2 and 3 web applications to be run. These a
1313
</table>
1414
Tags are printed to standard output by the buildpack detect script
1515

16-
If the application uses Spring, [Spring profiles][] can be specified by setting the [`SPRING_PROFILES_ACTIVE`][] environment variable. This is automatically detected and used by Spring. The [Java CfEnv](framework-java-cfenv.md) framework — the replacement for the deprecated Spring Auto-reconfiguration — activates the `cloud` profile at runtime; you can also add it explicitly with `SPRING_PROFILES_INCLUDE=cloud`.
16+
If the application uses Spring, [Spring profiles][] can be specified by setting the [`SPRING_PROFILES_ACTIVE`][] environment variable. This is automatically detected and used by Spring. The Spring Auto-reconfiguration Framework will specify the `cloud` profile in addition to any others.
1717

1818
## Configuration
1919
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].

0 commit comments

Comments
 (0)