IPath path= new Path(pathStr).makeAbsolute();
IPath path= projectPath.append(pathStr);  IWorkspace workspace= fCurrProject.getWorkspace();
	protected void checkIfPathValid() {		fOutputLocation= null;		IWorkspace workspace= fCurrProject.getWorkspace();				String pathStr= fContainerDialogField.getText();		if (pathStr.length() == 0) {			fContainerFieldStatus.setOK();			return;		}						IPath path= new Path(pathStr).makeAbsolute();		IStatus pathValidation= workspace.validatePath(path.toString(), IResource.PROJECT | IResource.FOLDER);		if (!pathValidation.isOK()) {			fContainerFieldStatus.setError(NewWizardMessages.getFormattedString("OutputLocationDialog.error.invalidpath", pathValidation.getMessage())); //$NON-NLS-1$			return;		}				IWorkspaceRoot root= workspace.getRoot();		IResource res= root.findMember(path);		if (res != null) {			// if exists, must be a folder or project			if (res.getType() == IResource.FILE) {				fContainerFieldStatus.setError(NewWizardMessages.getString("OutputLocationDialog.error.existingisfile")); //$NON-NLS-1$				return;			}		} else {			String project= path.segment(0);			if (workspace.getRoot().findMember(project) == null) {				fContainerFieldStatus.setError(NewWizardMessages.getFormattedString("OutputLocationDialog.error.projectdoesnotexist", project)); //$NON-NLS-1$				return;			}		}		fOutputLocation= path;		fContainerFieldStatus.setOK();	}