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

Including a property file moves locator to that file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: File reloading
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: