Bug 186370 [LinkedResources] Cannot create linked output folder pointing to path variable
Build: I20070508-0800 1) Create a new Java project 2) Create a path variable FOO pointing to some existing directory that has a sub-directory (I used c:\temp) 3) Right click on project > Properties > Java build path 4) Click the Browse button at the bottom to select a new output location 5) Select the project and click "Create New Folder" 6) Enter "bin2" as the name, and click "Advanced" 7) Select "Link to folder in the file system" 8) Click "Variables" 9) Select FOO, and click "Extend" 10) Select a sub-directory, and click "OK" -> You end up back in the new folder dialog, and there is a warning message saying "Link target does not exist". This is not incorrect. 11) Click "OK" several times to close all the dialogs. 12) Open the .project file, and notice that it has not used the path variable in the link. The location of the linked folder bin2 in my case was "D:/FOO/location".
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java
IDialogConstants.BUTTON_WIDTH);
		data.widthHint = Math.max(widthHint, button.computeSize(SWT.DEFAULT,
				SWT.DEFAULT, true).x);
		button.setLayoutData(data);
		return data;
	}
	/**
	 * Sets the value of the link target field
	 * 
	 * @param target
	 *            the value of the link target field
	 */
	public void setLinkTarget(String target) {
		linkTarget = target;
		if (linkTargetField != null && linkTargetField.isDisposed() == false) {
			linkTargetField.setText(target);
		}
	}
	/**
	 * Validates the type of the given file against the link type specified in
	 * the constructor.
	 * 
	 * @param linkTargetFile
	 *            file to validate
	 * @return IStatus indicating the validation result. IStatus.OK if the given
	 *         file is valid.
	 */
	private IStatus validateFileType(IFileInfo linkTargetFile) {
		if (type == IResource.FILE && linkTargetFile.isDirectory()) {
			return createStatus(