Monday, September 14, 2009

SVN for an Android project

I've started working on the Android project, and I'm using SVN as my version control system (I'm the only one working on it, so I'm actually using it more as a backup and for keeping track of things). A small tip when doing this is to not simply add everything in your project directory to the repository. In one word, don't run: $ svn add * I did so, and three revisions later I was unable to commit anymore, because Eclipse had removed some of its automatically generated files and svn didn't know what to do with them. Here's what you have to have in your repository: $ svn ls .@1 AndroidManifest.xml TODO res/ src/ You don't need the rest.

1 comment:

  1. What about the Assets folder? Should it be in or out. I'm thinking out based on your list.