Catching up on e-mail from the holiday, this may have been answered.

Check out the method:

org.eclipse.core.runtime.FileLocator.getBundleFile(Bundle)

Tom




                                                                       
  From:       "Fredrik Alströmer" <[EMAIL PROTECTED]>                      
                                                                       
  To:         "Equinox development mailing list" <[email protected]>
                                                                       
  Date:       11/26/2008 08:46 AM                                      
                                                                       
  Subject:    Re: [equinox-dev] What bundle class loaded from          
                                                                       





I'm aware of this, but I figured this was the equinox mailing list, so
maybe there's an equinox answer? :)

On Wed, Nov 26, 2008 at 14:58, BJ Hargrave <[EMAIL PROTECTED]> wrote:
> Not in any standard way. A framework is free to store an installed bundle
in
> any way is chooses. It could keep the original JAR file, expand it to the
> file system, put all the entries in a database, convert it to some VM
> optimized format, etc.
> --
>
> 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: "Fredrik Alströmer" <[EMAIL PROTECTED]>
> To:
> "Equinox development mailing list" <[email protected]>
> Date: 2008/11/26 08:46
> Subject: Re: [equinox-dev] What bundle class loaded from
> Sent by: [EMAIL PROTECTED]
> ________________________________
>
>
> On a similar note, is there a way to access the actual bundle file?
> Like for running an external javac-process (think tomcat jasper),
> which needs a classpath.
>
> On Mon, Nov 24, 2008 at 18:15, BJ Hargrave <[EMAIL PROTECTED]> wrote:
>> PackageAdmin.getBundle(Class)
>> --
>>
>> 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:
>> Oleg Zhurakousky <[EMAIL PROTECTED]>
>> To: Equinox development mailing list <[email protected]>
>> Date: 2008/11/24 12:04
>> Subject: [equinox-dev] What bundle class loaded from
>> Sent by: [EMAIL PROTECTED]
>> ________________________________
>>
>>
>> I know how to do it the "hard way", but was wondering if there is and
>> elegant way to determine which Bundle loaded a class?
>> Thanks
>> Oleg
>> _______________________________________________
>> equinox-dev mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>
>>
>> _______________________________________________
>> equinox-dev mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>
>>
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to