I have a big tree of bundles which use other bundles. For example:
- base bundle uses api bundle.
- the api bundle is a pure api bundle
- the base bundle uses the api bundle and is a library bundle (useful library functions, other bundles can use)
- the api bundle exports the api package
- the base bundle exports the base package. The base bundle also exports the api packages from the api bundle.
Is it correct to let the base bundle also export the api packages?
I did this because now users only have to add the base bundle to their build path and the base + api bundle is found by bndtools. Otherwise users using the base bundle need to figure out that the base bundle uses the api bundle, which they need to add to the buildpath.