Skip to main content

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

Hi,

The case in point here is the hamcrest library. Hamcrest exports multiple libraries (jars), most of them in the org.hamcrest package.

It also ships an all-in-one jar that flattens and merges all these libraries into one, this is what the hamcrest orbit bundle currently exports. Since JUnit already bundles hamcrest-core, it is logical to extract this and everything else out into a separate bundle.

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 ?

[1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=258439

-- Ketan


Back to the top