[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] preferenceCustomization is ignored by subclipse

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-12-05 15:08:27 CET

On Dec 5, 2007 8:13 AM, Murat Eken <eken.murat@gmail.com> wrote:
> Hi there,
> I'm trying to get the default values for preferences working, using the
> preferenceCustomization (preferences.ini) property in
> org.eclipse.core.runtime.products->product extension point, and everything
> seems to work except for the subclipse preferences. I wanted the svnkit to
> be the default client and added the following
> org.tigris.subversion.subclipse.ui/pref_svninterface=svnkit
> to my preferences.ini file. Unfortunately, that preference wasn't picked up.
> I did a quick debug session and I've noticed that Eclipse initializes the
> default scope correctly with the svnkit property from the preferences.ini
> file, however, in the start method of the SVNUIPlugin, the
> org.tigris.subversion.subclipse.ui.Preferences.initializePreferences method
> overrides this value with its runtime defaults (javahl in this case). AFAIK,
> the preferences.ini values should have precedence over the runtime defaults
> (see this for the order of things).
> Since Eclipse 3.0 you can initialize the runtime defaults using an extension
> point (see AbstractPreferenceInitializer) and that will take care of the
> precedence stuff. If you'd agree to refactor that, I could give a hand by
> sending a patch.

Enter an issue and attach the patch. We might need some explanation
to go with it, but it will probably depend on the patch and what has
to be changed.

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Wed Dec 5 15:08:34 2007

This is an archived mail posted to the Subclipse Dev mailing list.