try { fileManager.remove(LocationManager.BUNDLE_DATA_FILE); fileManager.remove(LocationManager.STATE_FILE); } catch (IOException ex) { if (Debug.DEBUG && Debug.DEBUG_GENERAL) { Debug.println("Error deleting framework metadata: " + ex.getMessage()); Debug.printStackTrace(ex); } }
reinitialize = true;
	private void checkLocationAndReinitialize() {		if (installURL == null) {			installURL = EclipseStarter.getSysPath(); // TODO This reference to the starter should be avoided			return;		}		if (!EclipseStarter.getSysPath().equals(installURL)) {			// delete the metadata file and the framework file when the location of the basic bundles has changed			try {				fileManager.remove(LocationManager.BUNDLE_DATA_FILE);				fileManager.remove(LocationManager.STATE_FILE);			} catch (IOException ex) {				if (Debug.DEBUG && Debug.DEBUG_GENERAL) {					Debug.println("Error deleting framework metadata: " + ex.getMessage()); //$NON-NLS-1$					Debug.printStackTrace(ex);				}			}			installURL = EclipseStarter.getSysPath();		}	}