### Eclipse Workspace Patch 1.0 #P org.eclipse.core.resources.patch Index: src/org/eclipse/core/internal/resources/Project.java =================================================================== RCS file: /cvs/dev/tools/src/eclipse/fragments/org.eclipse.core.resources.patch/src/org/eclipse/core/internal/resources/Project.java,v retrieving revision 1.3 diff -u -r1.3 Project.java --- src/org/eclipse/core/internal/resources/Project.java 24 Oct 2008 07:37:10 -0000 1.3 +++ src/org/eclipse/core/internal/resources/Project.java 24 Oct 2008 13:50:08 -0000 @@ -951,7 +951,7 @@ if (newLinks != null) newLink = (LinkDescription) newLinks.get(oldLink.getProjectRelativePath()); //if the new link is missing, or has different location or gender, then remove old link - if (newLink == null || !newLink.getLocationURI().equals(oldLinkResource.getLocationURI()) || newLink.getType() != oldLinkResource.getType()) { + if (newLink == null || !newLink.getLocationURI().equals(oldLinkResource.getRawLocationURI()) || newLink.getType() != oldLinkResource.getType()) { try { oldLinkResource.delete(IResource.NONE, null); //refresh the resource, because removing a link can reveal a previously hidden resource in parent