Java project: should .classpath .project file be committed into repository? [duplicate]
This question already has an answer here: .classpath and .project - check into version control or not? 7 answers Should I check in my .project and .classpath files? My friend told me that I should only check in .java files and the build.xml to guarantee portability. He said ".classpath will cause you much less portability on different environment. .project is entirely your local eclipse setting" I agree with him, but partially. -- Not checking in .project file will make my development less efficient (I can't simply "import" a project code from a directory) -- Not checking in .classpath file