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

Including a property file moves locator to that file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • File reloading
    • None

    Description

      1. Create files:

      # toBeIncluded.properties
      some_prop=someValue
       # toBeIncluded2.properties
      some_prop_2=someValue2
      
      
       # someDirectory/prop.properties
      include=../toBeIncluded.properties
      include=../toBeIncluded2.properties
      
      

      2. Load someDirectory/prop.properties file

      Expected:

      • Both files are loaded

      Actual:

      • toBeIncluded2 cannot be loaded with org.apache.commons.configuration2.ex.ConfigurationException: Cannot resolve include file exception

      Attachments

        Activity

          People

            Unassigned Unassigned
            achelon achelon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: