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

Carsten Ziegeler commented on SLING-9265:
-----------------------------------------

Reverted all three commits

Optional bundles are more complex - the biggest challenge is probably how to 
handle them in the launcher - the launcher needs to know whether it should 
include the optional bundle or not. Therefore optional bundles would require 
that an analyser runs first and then marks the bundles in some way whether they 
can be launched by the launcher or not. However, the analyser does not know 
what is launched later on - and adding an analyser to the launcher is not a 
good solution either.
Therefore we probably should defer this functionality until it is really needed.


> Add support for optional bundles
> --------------------------------
>
>                 Key: SLING-9265
>                 URL: https://issues.apache.org/jira/browse/SLING-9265
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>            Reporter: Carsten Ziegeler
>            Priority: Major
>
> The original requirements for the feature model contained an additional meta 
> data for a bundle:
>  *resolution* : The value is either "mandatory" or "optional". A mandatory 
> bundle needs to be satisfied; an optional bundle does not need to be 
> satisfied. The default value is mandatory.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to