Thank you BJ, thank you Thomas !
I will try to make a sample project reproducing this error and address a bug
to PDE team.
Best regards,
Anthony

On Thu, Nov 11, 2010 at 11:59 AM, BJ Hargrave <[email protected]> wrote:

> 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* <http://www.osgi.org/>*
> **[email protected]* <[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
>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to