On Thursday 15 February 2007 22:14, Alessandro Mottadelli wrote: > BJ Hargrave wrote: > > You can't. You can only export packages that your bundle contains. If > > your bundle imports a package, then your bundle cannot also export it. > > > > BJ Hargrave > > mmmmm..... why this limitation? It would be very useful to reexport a > package if the dependencies between bundles are expressed via > require-bundle (the "normal" eclipse way). > If I have a plugin A that requires plugin B and I decide to take some > package out of B to be able to distribute them independently it would be > nice not to change the plugin A and simply reexport from B packages that > are now elsewhere. > > Am I missing something?
Yeah; Skip the Require-Bundle system, and use Import-Package, and you get what you are looking for ;o) Just another argument for only using Require-Bundle in the originally quoted use-cases from Eclipse community. Cheers Niclas