Files under version control get deleted by "Clean"
When I clean an Eclipse project which contains generated files that are under version control, the files will be in the state "Delete" afterwards. I guess this happens:
- Eclipse sends the "clean" signal to all plugins
- The code generator plugins delete the files -> MercurialEclipse marks the file for deletion
- The code generator creates the file again -> MercurialEclipse doesn't add the file again
Can you please fix this? We lose a lot of time every day due to this bug: Commits often contain lots of files and the accidentally deleted files get lost in the huge list. After the commit, the files have to reverted or re-added. Sometimes, the problem leaks to other developers since they update and their tests suddenly start to fail.
PS: Migrated issue 52565 from javaforge (http://www.javaforge.com/issue/52565)