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
Post a Comment