This is a question on the essential subversion plus Eclipse work process.
When I check in my Eclipse (Java) project for the first time,
svnadmin create /home/jack/svnrepoz
svn import myfolder file:///home/jack/svnrepoz/myfolder
and then proceed to checkout, there will be a complaint.
svn checkout file:///home/jack/svnrepoz/myfolder myfolder
Failed to add file: 'myfolder/.classpath': an unversioned file
of the same name already exists.
How do I avoid this error? I thought of deleting the original project before doing the checkout, in which case I avoid this complaint. What are the consequences of an unversioned .classpath file? Unfortunately, upon the next use of Eclipse, the program gets confused and requires me to hit F5 in order to "synchronize" each file in the project. It seems that Eclipse cannot handle the case of a project tree that was deleted and rebuilt solely by subversion checkout. The F5 process is not only tedious since it has to be done for each .java file but also for the .properties file and it does not seem to support F5 (synchronize) for the .properties file.
Any insight into avoiding complaints in either subversion or Eclipse is being sought since each causes a problem for the other. (No I don't want to use the plug-in for the time being. I have read there are bugs in it. It would seem the command line should be sufficient and more reliable.)
Edit: It was suggested to use svn checkout --force. The problem remains that Eclipse will still require F5 on all files. I have upvoted hardmath's comment and will accept that as the answer if posted as one.