}
    public IResource getResource() throws SVNException    {    	if (this.path == null) return null;		IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();		IPath resourcePath = SVNWorkspaceRoot.pathForLocation(this.getPath());		if (resourcePath == null) throw new SVNException("An (un?)expected error has occured! Please report to users@subclipse.tigris.org ! pathForLocation(" 				+ this.getPathString() +") is null ! Url: " + this.getUrlString() + " Projects: " + ResourcesPlugin.getWorkspace().getRoot().getProjects());		int kind = SVNWorkspaceRoot.getResourceType(resourcePath);					if (kind == IResource.FILE)		{			return root.getFile(resourcePath);		}		else if(kind == IResource.FOLDER)		{			return root.getFolder(resourcePath);		}		else if (kind == IResource.PROJECT)		{			return root.getProject(resourcePath.segment(0));		}		else if (kind == IResource.ROOT)		{			return root;		}		else if (this.getNodeKind() == SVNNodeKind.FILE)		{			return root.getFile(resourcePath);		}		else		{			if (resourcePath.isRoot())			{				return root;			}			else if (resourcePath.segmentCount() == 1)			{				return root.getProject(resourcePath.segment(0));			}		}//        if (this.getNodeKind() == SVNNodeKind.UNKNOWN) {//        	File file = this.getPath().toFile();//        	if (file.isDirectory())//        		resource = workspaceRoot.getContainerForLocation(pathEclipse);//        	else//        		resource = workspaceRoot.getFileForLocation(pathEclipse);//        }		return root.getFolder(resourcePath);    }