Why does eclipse break when the .project file is hidden?
- by Tommy
Why does eclipse break with the error "Could not write file: M:\workspaces\eclipse\project.project. M:\workspaces\eclipse\project.project (Access is denied)" when the .project file is hidden (on the Windows file system)? Note: This happens w/ other files as well.
Steps to Reproduce:
1. Install the latest eclipse, I am using eclipse-jee-galileo-SR2-win32.zip. (Not sure if it happens in other versions)
2. Create a project.
3. Browse to the project in windows explorer, find the .project file.
4. Right click - properties
5. Under Attributes check hidden.
6. In eclipse, open the .project file, make a change and try to save.
7. After you get the error, uncheck the hidden box and save again.