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

[configuration] properties file with include in subdir does not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1
    • None
    • None
    • None
    • Operating System: Windows XP
      Platform: PC

    • 36383

    Description

      I use a Configuration Factory to create a Composite Configuration which points
      to properties files in subdirectories. If these properties files use the include
      statement to include other files, these files are expected at the root directory
      instead of the directory of the properties files.
      eg:
      config/config.xml (points to properties files below)
      config/module1/module1.properties
      config/module1/extra.properties
      config/module2/module2.properties

      If I want to include extra.properties in module1.properties, then I need to
      write include=module1/extra.properties, which is ackward

      Attachments

        Activity

          People

            Unassigned Unassigned
            denis.koelewijn@atosorigin.com Denis Koelewijn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: