Let's say I have the following bundles: foo-1.0: Export-Package: a;version="1.0" Import-Package: a;version="1.0"
foo-2.0: Export-Package: a;version="2.0" Import-Package: a;version="2.0" I first install foo-2.0 on the runtime, then bundle foo-1.0. Reading section 3.7, the outcome of the overlapping package resolution could be either external or internal, but at the end of section, it says "An exporter with a higher version is preferred over an exporter with a lower version." So the question is, would this be legal for the runtime to resolve those bundles the following way: foo-2.0: Export-Package: a;version="2.0" foo-1.0: Export-Package: a;version="1.0" or does it have to be: foo-2.0: Export-Package: a;version="2.0" foo-1.0: Import-Package: a;version="2.0" -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
