Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3706

Custom application config file instead of default location

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M2
    • Component/s: None
    • Labels:
      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)

        Attachments

          Activity

            People

            • Assignee:
              jcgarcia Juan Carlos García del Canto
              Reporter:
              jcgarcia Juan Carlos García del Canto
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: