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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: