Retain profiles used when running AOT #30421
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
The profiles specified when running AOT should be retained and used at runtime when starting the AOT processed application.
It's confusing that an application can be built with e.g.
profile-a
, uses the beans in that profile, but doesn't log that profile on startup. Users can specifyspring.profiles.active=profile-a
when running the AOT processed app, and then the log messages (and the configuration file loading forprofile-a
) happens, but I think this should be done automatically.The text was updated successfully, but these errors were encountered: