-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
type: documentationA documentation updateA documentation update
Milestone
Description
We state here that "The Spring @Profile
annotation and profile-specific configuration is not supported" when using AOT.
That's not quite right. Setting profiles which affect beans take no effect when running the AOT processed application. However, users can set a profile while building the application, which affects the AOT generated code. Profiles which only affect configuration properties (e.g. application-profile1.properties
) are supported at runtime. @sdeleuze has demoed and documented something here.
There's also spring-projects/spring-framework#29844 which aims to improve the experience.
We should reword our documentation to correctly document the state of things and what's possible and what's not.
Metadata
Metadata
Assignees
Labels
type: documentationA documentation updateA documentation update