Why does eclipse break when the .project file is hidden?
Posted
by Tommy
on Stack Overflow
See other posts from Stack Overflow
or by Tommy
Published on 2010-03-29T23:21:23Z
Indexed on
2010/03/29
23:23 UTC
Read the original article
Hit count: 328
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.
© Stack Overflow or respective owner