I'm working on a uni project with a few other people using SVN. Much to my annoyance the .project file was removed from the repository since "it contains platform specific information". However, this has obviously broken my setup in Eclipse, giving me the error:
Problems occurred opening the selected resources. The project description file (.project) for '_________' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
Any suggestions? Thank you.
Simply revert the project to a revision that featured the .project file, then put in .svnignores and to back to the current revision again. Or even simpler:
svn cp -r15 .project .project
Where the number after -r is a revision featuring the .project file.
.project files don't belong in an SCM, they contain developer-specific information. Common configuration belongs in some standardized file like (e.g.) a maven pom.xml, from which a .project file is automatically generated, but things like .project, .settings, .classpath should always be in svn:ignore, which means you can keep your own copy without overwriting others
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With