Summary: | changes to read-only .classpath file are not thrown out | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jed Anderson <jed.anderson> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | erich_gamma |
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jed Anderson
2002-04-16 11:49:40 EDT
We should re-read the file contents if unable to write over it. Changed the implementation to perform file saving before applying the classpath change. If unable to write, then the change is a noop. Fixed *** Bug 6165 has been marked as a duplicate of this bug. *** Backporting this fix to 1.0 stream. Fix for it is slightly different for reducing the amount of touched code. We simply restore old classpath, build order and classpath markers if exception is thrown while writing classpath file. Released in version 'v_144'. Actually, also need to protect the SetOutputLocationOperation as well. Fix released into v_144a |