|
|
|
|
|
|
|
Re: How to get file location from a BundleDescription [message #87398 is a reply to message #86098] |
Wed, 02 May 2007 15:37  |
Eclipse User |
|
|
|
Aaron Cohen wrote:
> It looks like the getLocation() method of the BundleDescriptor returns a
> relative path. So if I can figure out whhich eclipse instance used a
> configuration directory, I may be able to put the 2 together. However I
> cannot find any pointer in the configuration directory back to the
> Eclipse executable. Do you know of any?
The getLocation method of BundleDescription returns the location string
used to install the bundle. This string can be anything, there is no
requirement for it to be a real path. That being said the paths in the
location are by convention relative to the eclipse installation. The
real path information for the bundles is stored in the .bundledata file
in the org.eclipse.osgi configuration cache. There is currently no api
for reading this internal data structure.
Tom.
|
|
|
Powered by
FUDForum. Page generated in 0.04273 seconds