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 2010/11/23 15:46:14 UTC

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

    [ https://issues.apache.org/jira/browse/KARAF-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934847#action_12934847 ] 

Jean-Baptiste Onofré commented on KARAF-12:
-------------------------------------------

First, I add an unit test to reproduce the behavior.

> Bug in Feature.getDependencies
> ------------------------------
>
>                 Key: KARAF-12
>                 URL: https://issues.apache.org/jira/browse/KARAF-12
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Alin Dreghiciu
>            Assignee: Jean-Baptiste Onofré
>
> 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.
-
You can reply to this email to add a comment to the issue online.