[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Reading prefs in plugin startup?
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Marc Khouzam
> Sent: Wednesday, June 08, 2011 4:12 PM
> To: 'CDT General developers list.'
> Subject: Re: [cdt-dev] Reading prefs in plugin startup?
>
>
> > Your preferences should be in the dsf.gdb plug-in if it's using them.
> > We ran into that with Codan recently.
>
> Thanks, I've written a patch for that and it works very nicely.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=348159
>
> What do I do about backwards-compatibility of preferences though?
> By moving the prefs from dsf.gdb.ui to dsf.gdb, it means that any existing
> preference in dsf.gdb.ui in a workspace or imported from a preference file
> will be ignored after an upgrade.
> Does that require a major increment or can I put it in the SR1?
I wouldn't think so. You just lose the preference setting in the upgrade. If that's a big problem, I'm sure there's a way to sync them when the UI plugin loads.
Doug.