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

Static Profile generation fails if configfile element contains a placeholder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0, 4.0.8
    • 4.1.0
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: