[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Should osgi deprecate the location term?


Was "Fw: [Bug 126517] New source lookup is broken"

I opened an issue against OSGi to discuss this topic for the next specification release.

Tom





Jeff McAffer <Jeff_McAffer@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

02/11/2006 07:44 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
equinox-dev@xxxxxxxxxxx
cc
Subject
[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.


Jeff


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

02/06/2006 05:01 PM


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







https://bugs.eclipse.org/bugs/show_bug.cgi?id=126517
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
BundleContext#installBundle.  

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._______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev