This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
I have a project in Eclipse that I've just checked back into subversion (svn). I have another developer on my team that wishes to check it out into his Eclipse installation, but when he does so, none of the settings from my workspace/project are transfered to his Eclipse instance.
I know that if I want to export the preferences, all I have to do is go to File->Export->Preferences and save that file as an *.epf file.
Importing and Exporting the Preferences covers the location of the JDK, but that isn't what I'm concerned with.
I wish to export/import the following:
a.) The project settings (which directories contain source code, included jars etc...)
b.) The content of the [I]run external tools...->Ant Build[I] items in the tree.
c.) The layout of the workspace (not too important...)
a) This information is stored in the .project and .classpath files within the project itself. It should be stored in SVN by default since it is under the project. If it is not, check that you are not excluding "dot" files from version control. Also note that if the .classpath file refers to classpath variables, you need to import the epf file to get those.
b) You can create a shared launch configuration and store this in SVN. To do so, take a look at the common tab in the "external tools..." options. There is a radio button to make a shared configuration rather than local (the default.) I typically create a shared configuration and store it under my project so it is easily included in version control.