It seems to me that adding the property svn:ignore on files like .classpath would be a good idea. I use both Windows (work, ugh) and Linux development environments and every time I sync with the repository it overwrites my .classpath from whichever machine I'm working on.
I tried right-clicking the .classpath file in the Team Sync perspective, but the svn:ignore option is greyed out.
Any ideas how I might: 1. get this item out of source control, 2. add it to an ignore list?
Any other files a smart addition to this list?
At the command line:
svn rm --keep-local .classpath
svn pe svn:ignore .
The first command removes .classpath
from SVN while keeping the file locally. The second command lets you edit svn:ignore
. Add ".classpath" to the property.
The general rule is that any build output, machine-specific, or user-specific files should not be versioned and then be added to svn:ignore
. I'm not familiar with Java or Eclipse specifically so I couldn't mention any files by name.