the rule of importing and exporting packages on OSGi [message #997091] |
Thu, 03 January 2013 10:37  |
Eclipse User |
|
|
|
Hi!
I am building some bundles. When I set these bundle's export and import configurations, I can't understand the rules of them accuratry.
I was looking for the specification, I couldn't find it.
Could you teach me where the specification is or the helpful website?
Espencially, I want to know the answer of items below.
1. Packages and classes form hierarchy structure. I want to exports at once by setting the top package export.
but I have to set the lowest packages export.
ex. I have to set C,D,E export, I want to set B export at once. If I set B export, java.lang.ClassNotFoundException is occured.
A- B- C
├ D
└ E
2. Imported packages name are already in the bundle I imported into. Then, classLoader can't find the classes.
Do I need to distinguish package names include imported packages?
Thank you for your help in advance.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04675 seconds