|Access Denied on project folders following Project Clean [message #647779]
||Sat, 08 January 2011 17:05
| Peter Carroll
Registered: January 2011
When I clean my project, subsequent builds fail because of invalid folder permissions.|
- Windows 7 Ultimate 64 bit
- Java 1.6.9_23 32 bit
- Eclipse 3.5 32 bit
- Blackberry Development Plugin 1.1 32 bit
Everything works properly until I do Project Clean. This cleans out the project folder then recreates the structure below the MyProject/.preprocessed and MyProject/bin folders.
Eclipse (or whatever it calls) creates the first subfolder under each with invalid permissions. Interrogating the folder, even the administrator can not retrieve the permissions.
Then the preprocessor build fails with Access Denied on files that should be created within the .preprocessed folder. Ultimately...
The project was not built due to "Could not write file: D:\Documents\Eclipse\MultiTimer\bin\ca.". Fix the problem, then try refreshing this project and building it since it may be inconsistent.
At this point I can not interrogate or delete the "ca" folders (ca is the first folder in my package name).
To get past this, I have to reboot the PC into safe mode, login as the administrator, and delete the "ca" folders.
At this point checking the permissions and ownership shows that they are perfectly normal folders that can be deleted without trouble.
Once deleted, I reboot normally and everything works... at least until I do Project Clean again when the cycle starts all over again.
|Re: Access Denied on project folders following Project Clean [message #1016067 is a reply to message #647779]
||Mon, 04 March 2013 14:30
| Nadi Findikli
Registered: March 2013
I am running Eclipse SDK
Build id: M20120208-0800
On Windows 7 Pro 64-bit SP1
If I clean a project the ./bin directories do not get re-created. I don't think it is a read-only attribute issue but nonetheless, if the directories are gone they are gone.
SO, I created the directories under ./bin manually and now Eclipse is complaining that it cannot delete the directories!
I am an administrator on this machine and I am creating the directories and running eclipse from the same account. In case it makes any difference, the directories are under subversion control.
I also tried this with Juno, same issue.
Anybody dealt with this this recently?
Powered by FUDForum
. Page generated in 0.01993 seconds