Clean, Auto Build does not work [message #649794] |
Thu, 20 January 2011 15:47 |
Athena Messages: 3 Registered: January 2011 |
Junior Member |
|
|
My problem is that the "Clean" and "Build Automatically" options are not working.
I have been using Eclipse Galileo for the last six months. Everything was working fine till today. Today, I ran out of space while Eclipse was running, and I got errors like "Could not save workbench status, etc. ". I cleared some junk making a lot of free space, but then eclipse stopped building my project. So, I did a "Clean" and tried building again, but no use. I restarted eclipse, switched off and on the "Build Automatically" option, without any use.
Now, both the "Clean" and "Build Automatically" options have no effect.
How can I resolve this?
|
|
|
Re: Clean, Auto Build does not work [message #649889 is a reply to message #649794] |
Thu, 20 January 2011 20:52 |
|
Hi
It sounds a bit weird, but sometimes Eclipse gets really a mess with
files it has in it's caches and on the disk (especially Eclipse project
relevant files like .classpath and .project and in case they are
modified from outside like mvn eclipse:eclipse does...).
The following touching of all .classpath and .project files often
helps (example uses bash / cygwin bash):
- turn "built automatically" off
- close eclipse
- $ cd <workspace>
- $ find . -name .classpath | xargs touch
- $ find . -name .project | xargs touch
- start eclipse
- select all projects and then "Refresh" from the menu (Keyboard
shortcut is sometimes unreliable)
- Project > Clean
- Turn "build automatically" on
HTH
Michael
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10375 seconds