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

Add pax-url-classpath feature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • karaf
    • None

    Description

      To make it easier to use class path URLs. Something like.

      <feature name="pax-url-handler">
      	<bundle>mvn:org.ops4j.base/ops4j-base-util-property/1.5.0</bundle>
              <bundle>mvn:org.ops4j.base/ops4j-base-lang/1.5.0</bundle>
      	<bundle>mvn:org.ops4j.pax.swissbox/pax-swissbox-property/1.8.2</bundle>
              <bundle>mvn:org.ops4j.pax.url/pax-url-commons/2.4.7</bundle>
              <bundle>mvn:org.ops4j.pax.url/pax-url-classpath/2.4.7</bundle>
      </feature>
      

      Also, it would be nice to have documentation about how to use it for deploying config files in features.xml:

      <configfile finalname="${karaf.etc}/my.config.cfg">
      	classpath:my.config.cfg
      </configfile>
      

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              alex.soto Alex Soto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: