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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.2
    • karaf
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment