I want to share an eclipse project with the rest of my team through SVN. Which files should I add to subversion? In the workspace, there are many files which IMHO are n
With Eclipse, you always have to import a project - there is no other way to do it - Eclipse won't detect projects if you just switch workspaces unless you've created/imported the project in that workspace before.
You will need at a minimum:
Personally I also add the settings folder, but its up to you:
Then other users choose Import project and select the .project
file.
I would say "none of them" - I find it's easier to just store the code in subversion, then create a new project in Eclipse using the "Checkout Projects from SVN" wizard
If you've got a workspace which isn't currently under subversion control, then the easiest method would be to create a copy of it, trim all the unwanted files, then import that into subversion. Then you can create a new workspace using the wizard to link it with SVN.
For the workspace, consider using a 'team project set'. You can create one through the export action. This produces a file which you can email to your colleagues who then import it and all the shared projects will be checked out.
For each project it depends on what type of project it is. If it's a Java project:
In general, if a resource is a derivative of another then it should be excluded.