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

configfiles are not copied to system directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.1.0, 4.0.8
    • Component/s: karaf
    • Labels:
      None

      Description

      I have a feature which contain a configfile like:

      <configfile finalname='/etc/FinalFile.cfg' override="false">
      mvn:my.package/MyArtifact/1.0.0/cfg/file-cfg
      </configfile>

      If I put the feature which contains the configfile within the
      <installedFeatures> of my custom karaf pom file, all referenced bundles
      are installed within the system directory. But the configfile is just
      ignored. That leads of course to the problem, that the installation of
      the features failed if there is no maven repository available which is
      the case for my environment.

      I will provide a pull request for it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                tterm001 Thomas Termin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: