Community
Participate
Working Groups
JDT Silently looses changes to readonly .classpath file. this isn't a new problem, we should address this in 2.0. CORE should throw an exception in this case.
What about the complaint against the JavaModel notifying the impossibility of changing the content of a read-only file (bug 4210) ? We should be consistent and either always fail or always ignore. Failing seems appropriate and goes in the direction suggested by this bug report.
I expect some changes with regard to handling read-only files. This is triggered by requirement to support pessimistic VCMs. These systems have their files read-only when they are not checked out.
FYI, the API call to use before modifying a file is validateEdit provided by the Workspace.
Fixed along with bug 13905 *** This bug has been marked as a duplicate of 13905 ***