Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3262

Being able to use ${karaf.etc} in feature <configfile/> element

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.2
    • Component/s: karaf
    • Labels:
      None

      Description

      The <configfile/> element in a feature accepts a finalname attribute to define where the configfile has to be copied.
      However, finalname is relative to ${karaf.base}, whereas it should be able to use ${karaf.etc} (and so relative to ${karaf.etc}).

      In order to be backward compatible, if finalname starts with /etc/ it will be relative to ${karaf.base}, else it will be related to ${karaf.etc}.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: