[EMAIL PROTECTED] wrote on 2006-01-26 04:57:59 PM: > > How should an implementation of the OSGi preferences service handle > bundles with the same symbolic name but different versions both > running on the same system? Should the bundles share the same > preferences or should they each have their own?
Technically, these are 2 distinct bundles. Each has a distinct bundle id and bundle location. Therefore, Prefs must treat each as a seperate bundle and give them each their own preferences. If the there was only one bundles installed and it was updated to a new bundle version, then the updated bundle would then use the prefs from the original bundle. This is because they are the "same" bundle to Prefs: they have the same bundle id and bundle location. > > This question came up in Eclipse bug https://bugs.eclipse. > org/bugs/show_bug.cgi?id=124176#c5 > > Regards, > Roy Paterson > > ----------------------------------------- > Roy Paterson > IBM Pervasive Computing > Austin, TX > Phone: (512) 838-8898_______________________________________________ > osgi-dev mailing list > [EMAIL PROTECTED] > http://bundles.osgi.org/mailman/listinfo/osgi-dev BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] Office: +1 407 849 9117 Mobile: +1 386 848 3788 _______________________________________________ osgi-dev mailing list [EMAIL PROTECTED] http://bundles.osgi.org/mailman/listinfo/osgi-dev