1. when I synchronize one folder , it will show some outgoing changes in Sysnchrionze Window. So I commit it, but it show error like this
It not allow me to commit! Then I compare these two files, I didn't see any difference. But why the Eclipse CVS see difference when it syschronizes ? How could I work out ?
2. My project is huge, 300MB. I check out project . After ant task, it will generate class file. So Eclipse CVS see this difference. But actually, this class file difference doesn't need to commmit to remote CVS server. How could I avoid this , because jar , war, class file will take a long time to commit for a 300 MB project .
Derived files (JARs, WARs) shouldn't be checked into CVS in the first place. Neither should .class files. All of these files should be removed from the repository. Eclipse normally puts them in a "bin" directory, and that whole directory shouldn't be in the repository.
Regarding the invisible update problem: it may be a difference in line endings (i.e., UNIX \n vs. Windows \r\n) which is not being handled as it should be, or it may just be indentation or spacing changes. In any case, normally you should ALWAYS do an update before a commit, resolve any conflicts, and run all your tests, before checking anything in -- otherwise the repository may contain broken code, which is obviously bad.