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
buff.append(","); 
			path = recent[i];
			buff.append(path);
		}
		return buff.toString();
	}
	/**
	 * The the preference for recent workspaces must be converted from the
	 * storage string into an array.
	 */
    private static String[] decodeStoredWorkspacePaths(int max, String prefValue) {
		String[] paths = new String[max];
		if (prefValue == null || prefValue.length() <= 0)
			return paths;
		StringTokenizer tokenizer = new StringTokenizer(prefValue, ","); 
		for (int i = 0; i < paths.length && tokenizer.hasMoreTokens(); ++i)
			paths[i] = tokenizer.nextToken();
		return paths;
	}
    /**
	 * Return true if the protocol used to encode the argument memento is
	 * compatible with the receiver's implementation and false otherwise.
	 */
    private static boolean compatibleFileProtocol(IMemento memento) {
        IMemento protocolMemento = memento.getChild(XML.PROTOCOL);
        if (protocolMemento == null)
            return false;
        Integer version = protocolMemento.getInteger(XML.VERSION);
        return version != null && version.intValue() == PERS_ENCODING_VERSION;
    }