How to Import Preferences (.epf) in eclipse via command prompt? -


i wanted run bat file in can import preferences location (which exported manually). searched command import preferences but, not find any.

there no existing code this. have write eclipse headless application this:

ipreferencesservice service = platform.getpreferencesservice();  iexportedpreferences prefs = service.readpreferences(file input stream);  // todo create ipreferencefilter array filter want  service.applypreferences(prefs, filter array); 

see source of import preferences page org.eclipse.ui.internal.wizards.preferences.wizardpreferencesimportpage1 example.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -