[Subclipse-dev] preferenceCustomization is ignored by subclipse
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
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.inifile, however, in the start method of the SVNUIPlugin,
overrides this value with its runtime defaults (javahl in this case). AFAIK,
the preferences.ini values should have precedence over the runtime defaults
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.
Received on Wed Dec 5 14:13:23 2007
This is an archived mail posted to the Subclipse Dev