Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Need advice on bundles exporting the same package.

Hi Ketan,

Ketan Padegaonkar schrieb:
> I'm looking for advice on how to deal with bundles that export the same 
> org.hamcrest packages, with different classes within them. Paul Webster 
> pointed me to a similar bug [1], but I'm not sure how this works. Could 
> someone please throw some light on this ?

I suggest that you look at what I did with Lucene. It works using split
packages.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=260034

For every jar you create a bundle which exports the package with
split-package attributes. Then, there is an *all-in-one* bundle which
does not contain any code. But it depends on all the other bundles and
re-exports their packages (this time without split-packages attributes).

It's all in Orbit CVS.

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top