Bug 88890 [WorkbenchLauncher] missing "select workspace" dialog
i200503230842 Running with this build for the first time, I noticed it did not bother asking me for the workspace location. Just opened the default location. Note UI preferences are being created in the configuration area: #Wed Mar 23 12:25:49 EST 2005 RECENT_WORKSPACES_PROTOCOL=2 SHOW_WORKSPACE_SELECTION_DIALOG=false MAX_RECENT_WORKSPACES=5 eclipse.preferences.version=1 RECENT_WORKSPACES=C\:\\Documents and Settings\\rchaves\\workspace Deleting this file does not help, it is recreated again.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/ChooseWorkspaceData.java
public void writePersistedData() {
		
		Preferences node = new ConfigurationScope().getNode(PlatformUI.PLUGIN_ID);
		
		node.putBoolean(
				IDE.Preferences.SHOW_WORKSPACE_SELECTION_DIALOG,
				showDialog);
		
		node.putInt(IDE.Preferences.MAX_RECENT_WORKSPACES,
				recentWorkspaces.length);
		
		if (selection != null) {
			String oldEntry = recentWorkspaces[0];
			recentWorkspaces[0] = selection;
			for (int i = 1; i < recentWorkspaces.length && oldEntry != null; ++i) {
				if (selection.equals(oldEntry))
					break;
				String tmp = recentWorkspaces[i];
				recentWorkspaces[i] = oldEntry;
				oldEntry = tmp;
			}
		}
		
		String encodedRecentWorkspaces = encodeStoredWorkspacePaths(recentWorkspaces);
		node.put(IDE.Preferences.RECENT_WORKSPACES,
				encodedRecentWorkspaces);
		
		node.putInt(IDE.Preferences.RECENT_WORKSPACES_PROTOCOL,
				PERS_ENCODING_VERSION_CONFIG_PREFS);