Bug in Feature.getDependencies
------------------------------
Key: FELIX-1108
URL: https://issues.apache.org/jira/browse/FELIX-1108
Project: Felix
Issue Type: Bug
Components: Karaf
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.
-
You can reply to this email to add a comment to the issue online.