Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Key for "Directly show update wizard" preference



I find how I can change the value of the "Directly show update wizard" preference in the plugin_customization.ini, because I can’t’ do it programmatically, I development my plugins under Kepler (this pref doesn’t exist), but the eclipse where there are installed is a luna one !


I’ve tested :



I think it’s a formal issue, because by program I can modify the "Automatically find new udpates and notify me" preference :


// AutomaticUpdatePlugin.getDefault() = "org.eclipse.equinox.p2.ui.sdk.scheduler"

final IPreferenceStore pref = AutomaticUpdatePlugin.getDefault().getPreferenceStore();


final boolean isAutoUpdate = pref.getBoolean(PreferenceConstants.PREF_AUTO_UPDATE_ENABLED);


      pref.setValue(PreferenceConstants.PREF_AUTO_UPDATE_ENABLED, false);


But if I put under the plugin_customization.ini :

org.eclipse.equinox.p2.ui.sdk.scheduler/enabled = false
org.eclipse.equinox.p2.ui.sdk.scheduler/org.eclipse.equinox.p2.ui.sdk.scheduler.enabled = false
org.eclipse.equinox.p2.ui.sdk.scheduler.enabled = false

and nothing appends


For info:

-       I’ve verified that I can modify a pref to change the value under the plugin_customization.ini

-       I’ve exported the preferences before and after modification, but the pref I’m looking for it’s not present

-       No trace of the pref in the .pref files


If you have any idea ….

Many thanks






Back to the top