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

Static Profile generation fails if configfile element contains a placeholder

    Details

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

      Description

      The demo/profiles/static fails in case of a feature file containing a placeholder for a file location

      karaf.etc in this sample

      ...
      <feature name="pax-http-jetty" version="${project.version}">
              <configfile finalname="${karaf.etc}/jetty.xml">mvn:org.ops4j.pax.web/pax-web-features/${project.version}/xml/jettyconfig</configfile>
              <config name="org.ops4j.pax.web">
                  org.osgi.service.http.port=8181
                  javax.servlet.context.tempdir=${karaf.data}/pax-web-jsp
                  org.ops4j.pax.web.config.file=${karaf.etc}/jetty.xml
              </config>
      ...
      

      see also:
      https://ops4j1.jira.com/browse/PAXWEB-999

        Attachments

          Activity

            People

            • Assignee:
              achim_nierbeck Achim Nierbeck
              Reporter:
              achim_nierbeck Achim Nierbeck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: