karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3982) Be able to change standard files during distribution assembly
Date Wed, 09 Sep 2015 15:10:48 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737011#comment-14737011
] 

Benson Margulies commented on KARAF-3982:
-----------------------------------------

https://github.com/apache/karaf/pull/80 seems done except for the issue I asked for help on.

Here's how this works: You create:

src/main/karaf/assembly-property-edits.xml

to look for something like:

{code}
<property-edits xmlns="http://karaf.apache.org/tools/property-edits/1.0.0">
         <edits>
          <edit>
            <file>config.properties</file>
            <operation>put</operation>
            <key>karaf.framework</key>
            <value>equinox</value>
          </edit>
          <edit>
            <file>config.properties</file>
            <operation>extend</operation>
            <key>org.osgi.framework.system.capabilities</key>
            <value>my-magic-capability</value>
          </edit>
        </edits>
      </property-edits>
{code}


> Be able to change standard files during distribution assembly
> -------------------------------------------------------------
>
>                 Key: KARAF-3982
>                 URL: https://issues.apache.org/jira/browse/KARAF-3982
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-tooling
>            Reporter: Jean-Baptiste Onofré
>
> The Karaf Maven plugin generates files (etc/org.apache.karaf.features.cfg, etc). It would
be great to mimic pax-exam to be able to change these generated files (like put/append instructions).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message