| Summary: | [resources] Resource out of synch / update conflicts problems | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Matthew Shaylor <matthew.shaylor> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | neil |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Whiteboard: | |||
|
Description
Matthew Shaylor
Matthew, I don't understand your request for an "overwrite anyway" option. When I edit a file that is out of sync, it already presents me with the option to overwrite the external changes. As for manual refresh, this is available in the navigator and package explorer views. Just select the view and hit F5 or select a resource and choose "refresh" from the context menu. You may also be interested in the auto-refresh plugin that is available from the platform core homepage on eclipse.org. This is a duplicate of bug 16280. There you can find a hack to make it bareable. The problem is caused by funny timestamp behaviour of clearcase and SAMBA. When a file is written to a view the timestamp is updated (and Eclipse stores it to know if the file is in synch). Shortly afterwards, the timestamp may change again. Thus when the file is written again, the saved timestamp is not the same as the current one on the file. I also asked for an "overwrite anyway" button to provide a workaround when saving a file. The only way to save your changes is to copy them into the paste buffer and apply them to the file when you reopen it. Maybe you should set a unix/SAMBA/windows/clearcase enviroment up to see this for yourselves. The autorefresh plugin doesn't help if you are making frequent changes to a single file, since you have already modified the file before the plugin has refreshed it. |