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

Freeman Fang commented on SM-2179:
----------------------------------

@Christian,

For your question, first of all, all features should add resolver='(obr)', so 
that obr resolver can kick in, so that won't install redundant bundles
And about the dependency=true flag for each bundle,  bundles flagged as 
dependencies will be used to resolve constraints from other non dependencies 
bundles. Which means if there's no dependencies on such a bundle, it won't be 
installed.

And back to your questions
    If we install feature 'bar', bundle 'bar1' will be installed 
(dependency="false" is the default which means the bundle will be installed).
yes, if OSGi container not already have bundles which can provide 
packages&versions  that bar1 can provide

    If we install feature 'bar', bundle 'bar2' will be installed.
yes, if OSGi container not already have bundles which can provide 
packages&versions  that bar2 can provide
    
If we install feature 'bar', bundle 'bar3' will only be installed, if 'bar1' or 
'bar2' has an import package declaration which will be fulfilled (exported) by 
'bar3'. If this is not the case, the bundle 'bar3' will not be installed.
yes, if OSGi container not already have bundles which can provide 
packages&versions  that bar3 can provide

    If we install feature 'foo', which has an import package declaration which 
will be fulfilled (exported) by 'bar3', 'bar3' will be installed.
No, I don't thinks so, bar3 already get resolved in feature bar and it won't 
re-resolved in feature foo by feature dependency, unless you explicitly add 
bar3 in feature foo.

Freeman
                
> can't install camel-cxf feature
> -------------------------------
>
>                 Key: SM-2179
>                 URL: https://issues.apache.org/jira/browse/SM-2179
>             Project: ServiceMix
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 5.0.0
>
>
> please see the discussion here
> [1]http://servicemix.396122.n5.nabble.com/caml-cxf-in-smx5-td5716189.html

--
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

Reply via email to