Open elharo opened 8 years ago
Probably related to this show downloadable server adapters preference and adjustable by user:
Per @briandealwis "The server refreshing behaviour is a very annoying Eclipse WTP behaviour. You can disable it from by opening Windows > Preferences > Server and then changing 'Update cache frequency' to 'Manual'. They're changing this for the next release (Oxygen)."
Sadly WTP's Server UI uses old-style preferences which can't be overridden with -pluginCustomization. The only way to change this is either via the Preferences UI described above, or by putting the following content in ${workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.server.ui.prefs before launching:
eclipse.preferences.version=1
cache-frequency=0
@briandealwis Is this obsolete now that Mars is gone?
Still seems to happen in Oxygen.
I cannot recall what made me think they were changing the default. I think our Run As > App Engine provides an acceptable workaround for this issue. I think the only real solution is to enhance the WTP wizard to grey out the cached servers during their update, and make the server update not block the dialog.
This may be out of scope for the plugin, i.e. possibly an issue with WTP, but if there's any way we can avoid refreshing the server adapter list when we Run As > Run on Server, that would save on the order of a minute of the user's time per run.