You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Raul Kripalani (JIRA)" <ji...@apache.org> on 2012/10/20 17:38:11 UTC
[jira] [Created] (KARAF-1957) Allow to mark features as 'aggregate'
features
Raul Kripalani created KARAF-1957:
-------------------------------------
Summary: Allow to mark features as 'aggregate' features
Key: KARAF-1957
URL: https://issues.apache.org/jira/browse/KARAF-1957
Project: Karaf
Issue Type: New Feature
Components: karaf-feature
Affects Versions: 2.3.0, 2.2.9
Reporter: Raul Kripalani
When creating features descriptors, one would typically cross-reference features in two cases:
* to express dependency => when feature A depends on feature B and feature C
* to express aggregation => when you want to provide a single 'entry point' to install the entire application, i.e. feature A is a conglomerate of feature B and feature C
If you're after the second use case, Karaf has a shortcoming: uninstalling feature A won't automatically uninstall feature B and C.
This makes a lot of sense, so I wouldn't change this behaviour. However, it would be nice to be able to mark a feature as an aggregate, so Karaf will know in what cases it makes sense to uninstall referenced features.
A simplified example:
{code}
<feature name="A" aggregate="true">
<feature>B</feature>
<feature>C</feature>
</feature>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira