How does Require-Bundle interact with package constraints and/or matching
attributes for packages that are exported from the required bundle?
For a concrete example:
A: Import-Package: p; version="[2,3)"
Require-Bundle: B
B: Import-Package: p; version="[1,2)"
Export-Package: q; uses:="p",
r; someattrib=true; mandatory:=someattrib
C: Export-Package: p; version=2
D: Export-Package: p; version=1
Questions:
1. Will A have access to q from B? (note the incompatible constraint on p)
2. Will A have access to r from B? (note the mandatory attribute)
3. Will A be resolved at all?
On a related note: If Require-Bundle is used with visibility:=reexport, do
the reexported packages inherit any directives or attributes from the
required bundle? If so, what happens with split packages?
Thanks in advance,
Josh Arnold
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev