Android

how to setup my android repo based source tree

neodelicious 2011. 10. 11. 00:28


I wanted to know how to set up repo based source tree.

As you know, Repo is just a wrapper of several git repositories.
To manage those repositories, repo uses a configuration file named of default.xml.

To set up repo based source tree, you need to understand the format of default.xml.
I could learn it easily from following URLs

http://repo.or.cz/w/git-repo.git/blob_plain/a949fa5d202f0a1f812d7630f3e5bf0f02ca4e98:/docs/manifest_xml.txt
http://www.omappedia.org/wiki/Android_Miscellaneous

I want to say these.
- Like normal git, default.xml can set up several remote Repo and set one of them as default.
- each git can be retrieved from different remote Repo and either follows a branch or can be stuck on a specific commit.

If you want you can refer to below too.

git://android.git.kernel.org/platform/manifest.git
git://codeaurora.org/platform/manifest.git
http://gitorious.org/android-eeepc/manifest/blobs/master/default.xml
https://github.com/CyanogenMod/android/blob/gingerbread/default.xml

I attached my work to share.
I hope it helps you out.