Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Complete
-
2.0.0.M1
-
None
-
None
Description
By default, generated Spring Boot applications need an application.properties file that could be located on some different places with some different names.
Using ROO-3704 feature that allows developer to configure Spring Roo shell for each project, we are going to update ApplicationConfigService to write application configuration properties on custom places depending of Spring Roo Shell configuration.
- Update ApplicationConfigService to check Spring Roo Configuration properties using ProjectSettingsService:
- spring.roo.configuration.location=src/main/resources # Location of configuration file (DEFAULT src/main/resources)
- spring.roo.configuration.name=application # Name of configuration file located on
{spring.roo.configuration.location}
(DEFAULT application)