Spring Roo
  1. Spring Roo
  2. ROO-2245

DBRE model not updated when XML file is edited manually while shell is running

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: PERSISTENCE
    • Labels:
      None

      Description

      Though it is not recommended that the DBRE xml file be edited by the user (analogous to editing ITDs), there exists inconsistent behaviour now where if the file is edited, no updates occur until the Roo shell is restarted. This change will trigger changes to the ITDs when the XML file is edited while the Roo shell is running also.

      As part of the change the DbreDatabaseListener will be refactored to be a FileEventListener instead of a DatbaseListener. This simpflifies the code significantly.

      The .roo-dbre will also be renamed dbre.xml and be moved to src/main/resources. Roo does not listen for files starting with a period and this would be problematic for the FileEventListener

        Activity

        Hide
        Alan Stewart added a comment -

        Resolved in Git ID 6fe8277d5338fcd0dfd56491799ff1a845d1bc00.

        Show
        Alan Stewart added a comment - Resolved in Git ID 6fe8277d5338fcd0dfd56491799ff1a845d1bc00.

          People

          • Assignee:
            Alan Stewart
            Reporter:
            Alan Stewart
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: