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

        Roshan Shrestha created issue -
        Graeme Rocher made changes -
        Field Original Value New Value
        Assignee Graeme Rocher [ graemerocher ]
        Contegix Support made changes -
        Project Import Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ]
        Burt Beckwith made changes -
        Workflow jira [ 33381 ] Grails [ 40496 ]
        Burt Beckwith made changes -
        Workflow Grails [ 40496 ] Copy of Grails [ 47927 ]
        Burt Beckwith made changes -
        Workflow Copy of Grails [ 47927 ] Grails [ 55337 ]
        Burt Beckwith made changes -
        Workflow Grails [ 55337 ] Grails2 [ 62885 ]
        Burt Beckwith made changes -
        Workflow Grails2 [ 62885 ] jira [ 76713 ]
        Burt Beckwith made changes -
        Workflow jira [ 76713 ] Grails2 [ 85288 ]
        Peter Ledbrook made changes -
        Last Reviewed 01/Jan/10
        Peter Ledbrook made changes -
        Workflow Grails2 [ 85288 ] jira [ 93697 ]
        Peter Ledbrook made changes -
        Workflow jira [ 93697 ] Grails2 [ 101862 ]
        Graeme Rocher made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]

          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