@After @Override public void tearDown() throws Exception {
  final URI externalRootLocation=getResourceUri(PROBANDS,EXT_LOC);
  externalLibraryPreferenceStore.remove(externalRootLocation);
  final IStatus result=externalLibraryPreferenceStore.save(new NullProgressMonitor());
  assertTrue("Error while saving external library preference changes.",result.isOK());
  waitForAutoBuild();
  super.tearDown();
}

@ After @ Override public void tearDown ( ) throws Exception { final URI externalRootLocation = getResourceUri ( PROBANDS , EXT_LOC ) ; externalLibraryPreferenceStore . remove ( externalRootLocation ) ; final IStatus result = externalLibraryPreferenceStore . save ( new NullProgressMonitor ( ) ) ; assertTrue ( "Error while saving external library preference changes." , result . isOK ( ) ) ; waitForAutoBuild ( ) ; super . tearDown ( ) ; }
tries to make sure the external libraries are cleaned from the xtext index .
