Hi Magnus,

As far as background goes, I'm trying to add a new shared library to
the Android platform, and I have done this be creating a new folder
with the name of my library under the "/external" directory of the
android platoform (i.e. /external/mylibrary).

This is what I did to lead up to this point:

1)  Checked out the master branch from the android git repository by
following the Android documentation:

repo init -u git://android.git.kernel.org/platform/manifest.git
repo sync

2)  Created a new directory under /external for my library, so I have
the following folder with my library in it:

/external/mylibrary

3)  Now I am wondering how to add this to the working copy, so that it
is recognized by repo, and I am able to submit it to Gerrit for code
review.

Thanks,
Chris


On Aug 1, 9:07 am, Magnus Bäck <[email protected]> wrote:
> On Friday, July 30, 2010 at 19:12 CEST,
>      "Chris C." <[email protected]> wrote:
>
> > I created a new folder under the /external directory, but it is not
> > being recognized by "repo status".  Is there a way to add this folder
> > to the working tree so that the repo command can see that it should be
> > added?
>
> I'm not sure what you actually want to accomplish here. A little
> background would make it easier to give a good answer.
>
> Repo reads the manifest, .repo/manifest.xml (which is a symlink, usually
> to .repo/manifests/default.xml), to determine which Git repositories you
> have in your workspace. Assuming the directory you've added is a git you
> can add it to the manifest, but make sure you specify an alternate
> remote for the git (see the <remote> tag at the top of the manifest)
> that points to where the "master" for your git is located. If you don't
> do that, Repo will try to fetch the git from the server from which
> you've fetched the code.
>
> This is probably more suited for the repo-discuss list than
> android-porting.
>
> --
> Magnus B ck                      Opinions are my own and do not necessarily
> SW Configuration Manager         represent the ones of my employer, etc.
> Sony Ericsson

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to