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/ProjectLocationMoveDialog.java
return new IErrorMessageReporter(){
			/* (non-Javadoc)
			 * @see org.eclipse.ui.internal.ide.dialogs.ProjectContentsLocationArea.IErrorMessageReporter#reportError(java.lang.String)
			 */
			public void reportError(String errorMessage) {
				setMessage(errorMessage);
				
			}
		};
	}
	/**
	 * Get the project being manipulated.
	 */
	private IProject getProject() {
		return this.project;
	}
	/**
	 * The <code>ProjectLocationMoveDialog</code> implementation of this
	 * <code>Dialog</code> method builds a two element list - the first
	 * element is the project name and the second one is the location.
	 */
	protected void okPressed() {
		ArrayList list = new ArrayList();
		list.add(getProject().getName());
		list.add(locationArea.getProjectLocation());
		setResult(list);
		super.okPressed();
	}
}