What files are unnecessary when exporting an Eclipse Workspace to a version control repository?

Typically you will only be storing files under version control that are required for successfully building the application. But to help with development in large teams it is also typical (though not best practice) to store the bare minimum meta data required to reconstruct the Java project in the teams IDE of choice. So to sum up, from Eclipse you would want to export: All Java source files and folders All web application source files and folders All custom source files and folders (i.

E folders created by you with XML files etc) The . Project and . Classpath files for your top level Eclipse project You definitely do not want to export any Eclipse specific files/folders like .plugins.

If you want a hard and fast guide, you should export to your VCS, any files/folders needed to build your application, imagining that the development could happen in any IDE. Using that hard and fast rule you can easily determine what to store, and it also becomes obvious that storing the . Classpath and .

Project in VCS are really just crutches to speed up setting up a new Eclipse with your application faster. It's your judgement call really wether to include those two files.

I think the simple answer is that you'll need to include all of the files if you want to be able to rebuild the workspace accurately. They aren't going to take a lot of space up in any case. If you start checking in just pieces of the workspace, you would need to talk to the eclipse developers to ascertain that there will be no unknown side affects to that.It's not really worth it.

If it helps, I work on a lot of projects using eclipse and we don't check in the workspace at all. Rebuilding the workspace from scratch isn't generally a problem and happens automatically.

The only directories/files you need in your repo for most projects are: res/ src/ assets/ (if used) AndroidManifest. Xml default.properties.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions