|Import-Package version matching [message #913121]
||Fri, 14 September 2012 20:20
|| Libor Jelinek
Registered: January 2012
Location: Prague, Czech Rep.
Please consider the following of bundle version resolving issue. Some |
plug-in, e.g. com.acme.exports, exports package in MANIFEST.MF like this:
Some other plug-in, e.g. com.acme.imports, imports (consumes)
com.acme.exports's exported packages like:
In the example above, com.acme.bar package will not be resolved since it
explicitly requires 1.3.0 version of com.acme.bar but this package
doesn't declare any version.
Is this behavior in accordance with OSGi specification? I'm unsure about
it and I intuitively expected that if there is no exact version match,
the unspecified (and the only) version will be used instead.
Thanks for clarification
Powered by FUDForum
. Page generated in 0.08808 seconds