How To: Get full path from a BundleDescriptor [message #71150] |
Mon, 31 July 2006 15:45  |
Eclipse User |
|
|
|
I am writing a tool that analyzes another Eclipse OSGI runtime
When i read the remote BundlesDescriptors[] I get the following
initial@reference:file:plugins/org.eclipse.update.configurator_
3.2.0.v20060605.jar/
update@plugins/com.myCompany.native.win32.win32.x86_1.0.0/
How to I transform the getLocation() into a File() that would point either
to the JAR or the directory ?
I cannot resolve them locally as the OSGI level I am running in is not the
one I am getting the info from...
******************
I know it seems I can get around using Bundle and FileLocator...
But I cannot see if I can get my BundleDescriptor to give me the Bundle...
And the thing , again :) is that my code is not running in the same OSGI
layer as the one I am connecting to :)
--
Christophe Elek
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05810 seconds