0

I am working on an eclipse application where i donot want the workbench state to be persisted .So i called -clearPersistedState in the ini file of my application.When it did not solve my problem then i have overridden initialize in ApplicationWorkbenchAdvisor class .But still the workbench.xmi file is getting created and it is saving the state.

 @Override
  public void initialize(IWorkbenchConfigurer configurer) {
    // TODO Auto-generated method stub

    configurer.setSaveAndRestore(false);
  } 

ANy clue on this will be appreciated .

ini file content:

-clearPersistedState
-vmargs
-ea
-Xmx512M
-XX:MaxPermSize=128m
-Duser.language=en
Rajesh Kumar Dash
  • 2,203
  • 6
  • 28
  • 57

0 Answers0