You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/05/14 18:19:52 UTC

[jira] [Assigned] (KARAF-12) Bug in Feature.getDependencies

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

Jean-Baptiste Onofré reassigned KARAF-12:
-----------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)
    
> Bug in Feature.getDependencies
> ------------------------------
>
>                 Key: KARAF-12
>                 URL: https://issues.apache.org/jira/browse/KARAF-12
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Alin Dreghiciu
>
> Another thing that I implemented in Pax Runner is a scanner for features. Meaning that you can do:
> pax-run scan-feature:mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0/xml/features!/jbi-1.0.0.
> This also works now but I noticed the following: Lets say that you have 3 features: A, B, C where B depends on A and C depends on A. If I do Repository.getFeatures i will get an array containing three Features instances AI1, BI1, CI1. Because B depends on A I can get the dependencies of AI1, which I would expect to be BI1 but actually is another Feature instance BI2. Lets say that wouldn't be such a problem but main problem is that BI2 does not have a dependency on CI1 nor it has any bundles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira