I have a folder contains three files:
--mapper
|--a.xml
|--b.xml
Someday, a new file c.xml
is added in the repo. I updated project in Eclipse with the Subclipse plugin, then c.xml
showed in the folder, but marked with a red cross icon which means something wrong I suppose. So I went to the synchronize perspective, choose the mapper
folder, then overwrite this folder in local, then c.xml is deleted, why it is deleted? Overwrite means replace my local file with the files exactly in the repo, right?
Another weird thing is that in the sync perspective, there is a x.java
file with modifications needs to be committed, it is not in the local folder either. I don't even write Java, even I had made a modification by mistake I am not aware of, it should not be in the mapper
folder.
I have been working on this problem since last Friday, the last couple of times when I met this I just move the project to other place and checkout a new one, but this time I did not want to choose the stupid way.