IResource resource= JavaPlugin.getWorkspace().getRoot().findMember(path);
IResource resource= ResourcesPlugin.getWorkspace().getRoot().findMember(path);
	protected boolean validateDestinationGroup() {		if (fDestinationNamesCombo.getText().length() == 0) {			return false;		}		if (fJarPackage.getJarLocation().toString().endsWith("/")) { //$NON-NLS-1$			setErrorMessage(JarPackagerMessages.getString("JarPackageWizardPage.error.exportDestinationMustNotBeDirectory")); //$NON-NLS-1$			fDestinationNamesCombo.setFocus();			return false;		}		if (JavaPlugin.getWorkspace().getRoot().getLocation().isPrefixOf(fJarPackage.getJarLocation())) {			int segments= JavaPlugin.getWorkspace().getRoot().getLocation().matchingFirstSegments(fJarPackage.getJarLocation());			IPath path= fJarPackage.getJarLocation().removeFirstSegments(segments);			IResource resource= JavaPlugin.getWorkspace().getRoot().findMember(path);			if (resource != null && resource.getType() == IResource.FILE) {				// test if included				if (JarPackagerUtil.contains(JarPackagerUtil.asResources(fJarPackage.getElements()), (IFile)resource)) {					setErrorMessage(JarPackagerMessages.getString("JarPackageWizardPage.error.cantExportJARIntoItself")); //$NON-NLS-1$					return false;				}			}		}				return ensureTargetFileIsValid(fJarPackage.getJarLocation().toFile());	}