Bug 180363 [LinkedResources] No way to create a linked resource based on a variable
Eclipse 3.3M6 1. In shell: mkdir /tmp/test 2. In Eclipse define a path variable TMP pointing to /tmp under Preferences/Workspace/Linked Resources 3. Select a project, click New Folder, Advanced. Check Link to folder in the file system. Type TMP/test, click Finish. The folder gets added to .project file as: <link> <name>test</name> <type>2</type> <location>/tmp/test</location> </link> instead of expected: <link> <name>test</name> <type>2</type> <locationURI>TMP/test</locationURI> </link> This is a regression from Eclipse 3.2.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java
return createStatus(
					IStatus.ERROR,
					IDEWorkbenchMessages.CreateLinkedResourceGroup_linkTargetNotFile);
		} else if (type == IResource.FOLDER && !linkTargetFile.isDirectory()) {
			return createStatus(
					IStatus.ERROR,
					IDEWorkbenchMessages.CreateLinkedResourceGroup_linkTargetNotFolder);
		}
		return Status.OK_STATUS;
	}
	/**
	 * Validates this page's controls.
	 * 
	 * @param linkHandle
	 *            The target to check
	 * 
	 * @return IStatus indicating the validation result. IStatus.OK if the
	 *         specified link target is valid given the linkHandle.
	 */
	public IStatus validateLinkLocation(IResource linkHandle) {
		if (linkTargetField == null || linkTargetField.isDisposed()
				|| !createLink) {
			return Status.OK_STATUS;
		}
		IWorkspace workspace = IDEWorkbenchPlugin.getPluginWorkspace();
		FileSystemConfiguration configuration = getSelectedConfiguration();
		if (configuration == null
				|| EFS.SCHEME_FILE.equals(configuration.getScheme())) {
			
			IPath location = new Path(linkTarget);