Yes. A fragment, once attached to its host, is logically part of the host bundle and has access to all the types on the Bundle-Classpath.
You may have a PDE issue which you will need to raise on the proper Eclipse forum. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [email protected] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Anthony Dahanne <[email protected]> To: OSGi Developer Mail List <[email protected]> Date: 2010/11/11 11:46 Subject: [osgi-dev] Can a fragment see its host's Bundle-Classpath ? Sent by: [email protected] 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
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
