Bug 224997 [Workbench] Impossible to copy project
Version: 3.4.0 Build id: I20080330-1350 Steps: * empty workspace * create simple project "foo" * copy (context menu/key binding doesn't matter) * paste it (package explorer/navigator doesn't matter) * see: "Copy of foo", OK is enabled. Changing the name of the project (in whatever fasion) leads to the "Project name must be specified message". No way to sucessfully copy the project.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ProjectLocationSelectionDialog.java
projectNameField.selectAll();
		createNameListener();
	}
	/**
	 * Generates a new name for the project that does not have any collisions.
	 */
	private String getCopyNameFor(String projectName) {
		IWorkspace workspace = getProject().getWorkspace();
		if (!workspace.getRoot().getProject(projectName).exists()) {
			return projectName;
		}
		int counter = 1;
		while (true) {
			String nameSegment;
			if (counter > 1) {
				nameSegment = NLS.bind(
						IDEWorkbenchMessages.CopyProjectAction_copyNameTwoArgs,
						new Integer(counter), projectName);
			} else {
				nameSegment = NLS.bind(
						IDEWorkbenchMessages.CopyProjectAction_copyNameOneArg,
						projectName);
			}
			if (!workspace.getRoot().getProject(nameSegment).exists()) {
				return nameSegment;
			}
			counter++;
		}
	}
	/**