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

Change name and location of Roo-managed dbre xml file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: None
    • Labels:
      None

      Description

      The current dbre xml file is named dbre.xml and is located in the project's src/main/resources/META-INF/spring directory. This is not ideal for the following reasons:
      1) The file is visible in the project and can lead to confusion as to it being required for project runtime operation (it is not).
      2) The file can get large depending on the number of tables and would be packaged up by default in an application's WAR file which is not desirable.
      3) Having the file visible in the project structure may encourage users to edit this file rather than leaving it to DBRE to manage.

      This improvement is to rename the file to .roo-dbre and move it to the project's root directory. Having it hidden will help to prevent it being edited or deleted

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            stewarta Alan Stewart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: