Bug 85385 New JProject wizard should check whether linked folders exist
I20050215-2300 The new source page on the New Java Project wizard allows to create linked folders to locations that don't exists. This leads to various problems and .log entries later.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/LinkFolderDialog.java
* @return IStatus indicating the validation result. IStatus.OK if the 
         *  given file is valid.
         */
        private IStatus validateFileType(File linkTargetFile) {
            if (!linkTargetFile.isDirectory())
                return new StatusInfo(IStatus.ERROR, NewWizardMessages.getString("NewFolderDialog.linkTargetNotFolder")); 
            return new StatusInfo();
        }
        
        /**
         * Tries to resolve the value entered in the link target field as 
         * a variable, if the value is a relative path.
         * Displays the resolved value if the entered value is a variable.
         */
        private String resolveVariable() {
            IPathVariableManager pathVariableManager = ResourcesPlugin.getWorkspace().getPathVariableManager();
            IPath path= Path.fromOSString(fDependenciesGroup.getLinkTarget());
            IPath resolvedPath= pathVariableManager.resolvePath(path);
            return resolvedPath.toOSString();
        }
                
        /**
         * Checks if the folder name is valid.
         *
         * @return <code>true</code> if validation was
         * correct, <code>false</code> otherwise
         */
        private IStatus validateFolderName(String name) {
            if (name.length() == 0) { 
            	return new StatusInfo(IStatus.ERROR, NewWizardMessages.getString("NewFolderDialog.folderNameEmpty"));