Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-83

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

    Details

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

      Operating System: Windows XP
      Platform: PC

      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

        Activity

        Denis Koelewijn created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 36383 12342514
        Henri Yandell made changes -
        Affects Version/s 1.1 Final [ 12311652 ]
        Component/s Configuration [ 12311107 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Project Commons [ 12310458 ] Commons Configuration [ 12310467 ]
        Key COM-2362 CONFIGURATION-83
        Henri Yandell made changes -
        Affects Version/s 1.1 Final [ 12311695 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Denis Koelewijn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development