Eclipse takes very long time to delete files during build. [message #1737919] |
Thu, 14 July 2016 07:24 |
Thomas Collignon Messages: 2 Registered: July 2016 |
Junior Member |
|
|
I'm using Eclipse Kepler on Windows 7 and recently it became more and more frequent that it takes lots of time when it has to delete files. For example in these contexts:
- mvn clean, launched from Eclipse
- cleaning output folder in case of automatic projects build by Eclipse
- deploying a war on a server (deletion of the previous deployment)
The problem doesn't occur at each time. I haven't figured out yet in what cases the problem happens.
I may have a clue: to gain some time I 'help' Eclipse by deleting the files myself with Windows Explorer. For the problematic folders (the ones that take time to be cleaned by Eclipse), Windows launches a pop-up saying that I need admin right to do that. I just hit Enter (I am admin user) and the files are quickly deleted. If Eclipse had no right to delete the files I would have expected an error, instead it just takes much more time to actually delete the files.
Solutions that I've tried but don't work:
- Re-starting with a fresh workspace
- Launching Eclipse as admin.
What could be the cause of that? Knowing that the clue may or may not be relevant.
[Updated on: Fri, 15 July 2016 08:18] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.09379 seconds