[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Fw: [Bug 126517] New source lookup is broken

Should we put this on the list of things to propose in the next version of the OSGi spec?  deprecate getLocation() (and the use of the term location) and replace with getInstallKey() or some such?  This always crops up and confuses people.


----- Forwarded by Jeff McAffer/Ottawa/IBM on 02/11/2006 08:41 PM -----

02/06/2006 05:01 PM

Jeff McAffer/Ottawa/IBM@IBMCA
[Bug 126517] New source lookup is broken

Product/Component: PDE / UI

------- Comment #6 from tjwatson@xxxxxxxxxx  2006-02-06 16:59 -------
'location' is used to hold the poorly named OSGi concept of bundle location
(see Bundle#getLocation).  This value is assigned by the caller to

The location string can be anything, it does not have to be a well formed URL
string or file path string.  Therefore we cannot merge the two.  The best
definition I can come up with for the true meaning of bundle location would be
"install key".  It is a key assigned by the installer (not the framework) at
install time.  Update uses keys starting with "update@" so they can easily tell
what bundles they manage.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.