Starter situation (without any error):
- I have three different bundles: bunbdle A (called org.apache.xmlbeans), bundle B and bundle C
- bundle B import some packages exported from the bundle A
- bundle B export some packages (e.g. the package com.prova.xsd.config)
- bundle C import the packages exported by the bundle B (e.g. the package com.prova.xsd.config)
Now I make bundle B a fragment of the bundle A (fragment-host) adding the directive Fragment-Host: org.apache.xmlbeans in the MANIFEST of the bundle B
After this change there are NO errors in the MANIFEST.MF of all the bundles (A,B,C) but in the classes .java of the bundle C I have the compile error: "The import com.prova.xsd.config cannot be resolved" associated to the import at the head of the file .java.
What is the problem? How can I fix it?
Thanks a lot,
Andrea