Yes this is supported at runtime. Fragments should have access to classes on its host bundle's class path. I suggest you open a bug against PDE and provide them steps to reproduce. BTW, this is a pretty common scenario that I know many are successful at doing within PDE. I suspect some kind of issue with your project setup. Anyway that is a topic better suited in a PDE bug report or a PDE forum.
Tom |------------> | From: | |------------> >-------------------------------------------------------------------------------------------------------------------------------------------------| |Anthony Dahanne <[email protected]> | >-------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >-------------------------------------------------------------------------------------------------------------------------------------------------| |OSGi Developer Mail List <[email protected]> | >-------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >-------------------------------------------------------------------------------------------------------------------------------------------------| |11/11/2010 10:46 AM | >-------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >-------------------------------------------------------------------------------------------------------------------------------------------------| |[osgi-dev] Can a fragment see its host's Bundle-Classpath ? | >-------------------------------------------------------------------------------------------------------------------------------------------------| Hello all ! I have a fragment com.fragment relying on its host com.bundle * com.fragment has a class importing com.package.ClassA * com.bundle has inlcuded, in its Bundle-ClassPath , lib\library.jar , which contains com.package I'm using equinox PDE, and when trying to compile com.fragment, it is complaining that it can not resolve com.package.ClassA I'm now wondering; is OSGi supposed to let a fragment see its host Bundle-ClassPath entries ? Thanks for your answers ! Anthony _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
