Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-523

DefaultConfigurationBuilder is not reloading its base file

    XMLWordPrintableJSON

    Details

      Description

      Create a DefaultConfigurationBuilder with this example file master-config.xml :
      <?xml version="1.0" encoding="UTF-8" ?>

      <configuration>
      <header>
      <result forceReloadCheck="true"/>
      </header>
      <system/>
      <override>
      <properties fileName="webapp-commons.properties" throwExceptionOnMissing="true">
      <reloadingStrategy refreshDelay="1000" config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
      </properties>
      </override>
      </configuration>

      A modification to "webapp-commons.properties" is well detected and the file is reloaded.
      But if you modify the master-config.xml itself, nothing is reloaded, no event are thrown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jmcollin92 Jean-Marc
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified