You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "George McCone (JIRA)" <ji...@apache.org> on 2017/07/31 18:38:00 UTC

[jira] [Updated] (KARAF-5198) KAR:Create update feature file based on list of features provided

     [ https://issues.apache.org/jira/browse/KARAF-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George McCone updated KARAF-5198:
---------------------------------
    Description: 
When you create a KAR file using the kar:create command, you can give it a list of features of the specified repo to include in the KAR file.

It appears that the feature file that is included in the KAR is copied straight out of the repo and includes all the features regardless of the those specified.

When the KAR is deployed, it is starting all the features in the feature file. In many cases this is resulting in the starting of numerous other features.

One good example of this is the cxf-dosgi repo's feature "cxf-dosgi-base" which has a feature defined for libs needed when running outside Karaf (or at least that is what the description says for the feature). It references a bunch of bundles that come with core Karaf and when this feature tries to install, it hangs the KAR deployer and Karaf won't shutdown correctly.

It would be nice if the feature file either removed those features that were not exported, or mark the feature with install="manual", assuming KARAF-5197 adds this capability.

  was:
When you create a KAR file using the kar:create command, you can give it a list of features of the specified repo to include int the KAR file.

It appears that the feature file that is included in the KAR is copied straight out of the repo and includes all the features regardless of the those specified.

When the KAR is deployed, it is starting all the features in the feature file. In many cases this is resulting in the starting of numerous other features.

One good example of this is the cxf-dosgi repo's feature "cxf-dosgi-base" which has a feature defined for libs needed when running outside Karaf (or at least that is what the description says for the feature). It references a bunch of bundles that come with core Karaf and when this feature tries to install, it hangs the KAR deployer and Karaf won't shutdown correctly.

It would be nice if the feature file either removed those features that were not exported, or mark the feature with install="manual", assuming KARAF-5197 adds this capability.


> KAR:Create update feature file based on list of features provided
> -----------------------------------------------------------------
>
>                 Key: KARAF-5198
>                 URL: https://issues.apache.org/jira/browse/KARAF-5198
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-kar
>         Environment: N/A
>            Reporter: George McCone
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> When you create a KAR file using the kar:create command, you can give it a list of features of the specified repo to include in the KAR file.
> It appears that the feature file that is included in the KAR is copied straight out of the repo and includes all the features regardless of the those specified.
> When the KAR is deployed, it is starting all the features in the feature file. In many cases this is resulting in the starting of numerous other features.
> One good example of this is the cxf-dosgi repo's feature "cxf-dosgi-base" which has a feature defined for libs needed when running outside Karaf (or at least that is what the description says for the feature). It references a bunch of bundles that come with core Karaf and when this feature tries to install, it hangs the KAR deployer and Karaf won't shutdown correctly.
> It would be nice if the feature file either removed those features that were not exported, or mark the feature with install="manual", assuming KARAF-5197 adds this capability.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)