|Re: Help find documentation - Export-Package: split [message #90330 is a reply to message #90138]
||Tue, 12 June 2007 09:04
| Brett Humphreys
Registered: July 2009
I would suggest reading the OSGi R4 spec (which you can request to
download from www.osgi.org), it goes into detail about what the
mandatory directive does and how it is used.
That being said, I was under the impression that when you have a split
package like you do (similar to the equinox common bundle, which is
split for legacy reasons I believe), you must use the 'require-bundle'
header and not the 'import-package' header. Section 3.13.2 of the R4
spec discusses this a bit, as well as the disadvantages of using this
Ilan Klein wrote:
> Hi all,
> I asked a questinon in the platform newsgroup, and they mentioned I should
> come and ask about it here.
> The problem was how to tell eclipse that I want to share the same packe from
> 2 separate plugins.
> This is similar to this question here:
> The problem was that I have an interface pluginand an implementation plugin.
> Both export the same package structure - "pluginone".
> There is a user plugin which uses them with "Import Package:" statement.
> The answer was to use - Export-Package: pluginone; common="split";
> I have attached 3 plugins for showing the problem and solution, now I need
> to undersatnd what the change means.
> Can you point me to the Export-Paxkage documentation showing the split, and
> common ... since I was not able to find it.
Powered by FUDForum
. Page generated in 0.01741 seconds