Community
Participate
Working Groups
Build Identifier: 20100917-0705 The AliasManager of the workspace does not check host names in the compare method. I am using RSE to link remote file systems into my workspace. The remote filesystems look very much alike - most of the resources have the same paths e.g: hosta:/abc/def and hostb:/abc/def The AliasManager does not distinguish between these files, since it ignores the host. This results in strange behaviour. Files which are in fact on the first server suddenly occure on the second server in the package explorer view of the eclipse. Eclipse sometimes complains about files which it can't find, since it looks for them on the wrong server. Reproducible: Always Steps to Reproduce: 1. create a directory on host A (mkdir /user/martin/abc) 2. add a file to that directory (touch /user/martin/abc/A) 3. create a directory on host B which has exactly the same path 4. add a file to that directory with a different name to the first one (touch /user/martin/B) 5. open an fresh eclipse instance which uses RSE 6. create a project hosta 7. create a linked directory dira which links to the RSE filesystem on hosta (/user/martin/abc) 8. create a project hostb 9. create a linked directory dirb which links to the RSE filesystem on hostb (/user/martin/abc) 10. Open the package explorer and browse the workspace. The files are not where you would expect them to be.
Created attachment 190259 [details] proposed patch proposed patch
Comment on attachment 190259 [details] proposed patch Thanks, Martin. The patch looks good.
Created attachment 212383 [details] Patch with test
It turned out to be a specific case of bug 192631. *** This bug has been marked as a duplicate of bug 192631 ***