Recently I diagnosed an issue in which the files in my Eclipse J2EE project would turn readonly after a commit. This issue occurred after the project had been working smoothly for months. The “needs-lock” property was not set for any files, and until this issue came up, I didn’t know it existed.