Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Automaticlly Updates pref checkbox default enable
Automaticlly Updates pref checkbox default enable [message #554695] Tue, 24 August 2010 06:39
salever  is currently offline salever Friend
Messages: 3
Registered: July 2010
Junior Member
Does anyone know how to make "Automaticlly Updates" in preferences defaultly on? It's off by default. I searched the codes and found that the pref is managed by class " org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUp datesPreferencePage ", and the pref key was org.eclipse.equinox.internal.p2.ui.sdk.scheduler.PreferenceC onstants.PREF_AUTO_UPDATE_ENABLED. I could use hard codes to make it true when the bundle is started.

However this plugin is early-startup, the codes must be under the IApplication.start(), sometimes this method isn't accessible when developing based on plugins. Does anyone know a better way to finish this, like modifying the eclipse style using "org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS = true" in the "plugin_customization.ini" file?

And I wrote these codes in the plugin_customization.ini:
# automatic update options are defined in org.eclipse.equinox.p2.sdk.scheduler.PreferenceConstants
org.eclipse.equinox.p2.ui.sdk.scheduler/autoUpdateInit=false

# check for updates on startup
org.eclipse.equinox.p2.ui.sdk.scheduler/enabled=true
org.eclipse.equinox.p2.ui.sdk.scheduler/schedule=on-startup

# remind the user every 4 hours
org.eclipse.equinox.p2.ui.sdk.scheduler/remindOnSchedule=tru e
# see AutomaticUpdatesPopup, values can be "30 minutes", "Hour", "4 Hours"
org.eclipse.equinox.p2.ui.sdk.scheduler/remindElapsedTime=4 Hours

# download updates before notifying the user
org.eclipse.equinox.p2.ui.sdk.scheduler/download=true

However, it desn't work. Anyone knows a solution?

I'm using e3.5.

Thanx.

[Updated on: Tue, 24 August 2010 06:51]

Report message to a moderator

Previous Topic:Resource loading with HttpService
Next Topic:Re: Product extensions in Eclipse 3.6
Goto Forum:
  


Current Time: Wed Apr 24 22:04:33 GMT 2024

Powered by FUDForum. Page generated in 0.02773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top