Grails
  1. Grails
  2. GRAILS-5048

Changes to .properties files during development not loaded

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: Project infrastructure
    • Labels:
      None

      Description

      I have a .properties file under "/conf". Any changes I make to it do not get picked up by Grails, even after I shut down and restart Grails. I have to manually delete the copy in the "resources" folder under ".grails", then start Grails.

      The above copies the changed file into the work folder. However, I have the Hibernate query directives in the .properties file, and the first restart of the Grails, even though the properties file is copied, apparently does not pick up the content, and throws an exception about Hibernate 2nd level cache. If I stop and then start Grails, then everything is OK.

        Activity

        Hide
        Graeme Rocher added a comment -

        this requires setting up something that monitors the .properties file for you, Grails does nothing magic here

        Show
        Graeme Rocher added a comment - this requires setting up something that monitors the .properties file for you, Grails does nothing magic here

          People

          • Assignee:
            Unassigned
            Reporter:
            Roshan Shrestha
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Last Reviewed:

              Development