| Summary: | Renaming a linked resources that uses a path variable makes the link absolute | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Martin Oberhuber <mober.at+eclipse> |
| Component: | Resources | Assignee: | Martin Oberhuber <mober.at+eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.5 | ||
| Target Milestone: | 3.6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
This is fixed in Eclipse 3.6, likely as part of the work making path variables more flexible. |
CQ:WIND00243927 Build ID: Eclipse 3.5 Steps to reproduce: 1. In Preferences, define a Workspace Path Variable WS_ROOT_DIR -> C:\ws 2. In a project, create a linked resource folder using the path variable. Creates this entry in the .project file: <link> <name>link_to_foo</name> <type>2</type> <locationURI>WS_ROOT_DIR/foo</locationURI> </link> 3. Rename link_to_foo --> renamed_to_foo --> The linked resource target is now saved in the .project file as an absolute path rather than using the path variable: <link> <name>renamed_to_foo</name> <type>2</type> <locationURI>C:/ws/foo</locationURI> </link>