I’ll be submitting https://android-review.googlesource.com/286781 shortly in order to move the `build` project to `build/make`. This will only affect the master branch.
If you don’t have any local changes to the build project, just sync like normal, everything should just work.
If you have uncommitted changes, your sync will fail, and you’ll either have to commit your changes or reset the files in order to sync.
If you have local branches, the safest solution is to backup your changes (to gerrit, or otherwise) before your next sync, then apply them into the new project. If you don’t do that, this command should be able to restore your branches, at least until `git gc` runs:
(cd build/make; git fetch ../../.repo/projects/build.git refs/heads/*:refs/heads/* refs/published/*:refs/published/*; git config -l -f ../../.repo/projects/build.git/config | grep '^branch.' | sed 's/=/ /' | xargs -L1 git config)
If you encounter any problems, please respond here.
Thanks,
Dan--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I downloaded sourcecode as the following steps:2.repo sync -c -d
1.repo init -u https://android.googlesource.com/platform/manifest -b masterBut I donot have "build/core" in my directory.I added my manifest.xml in the attachment.And if i run "repo init -u https://android.googlesource.com/platform/manifest -b master" and "repo sync -c -d platform/build" in another folderI got a folder "build/make".And I found that my manifest.xml do not have a directory named "build".I cannot build the source code now.Could you please help me to find out a method that I can build the the code.Thanks,Darview_Cheng
2017-03-29 4:40 GMT+08:00 'Dan Willemsen' via Android Building <android-building@googlegroups.com>:
It looks like it's not finding your source directory. Running `gettop` should return the absolute path to your source directory. You can override this by setting the TOP environment variable, but it should auto-detect the value if you're in the source directory.That being said, if your source directory is corrupt due to this move, that could also cause problems -- does build/core/envsetup.mk exist? (build/core should be a symlink to build/make/core). If it doesn't exist, where there any errors from the last `repo sync`?- Dan
On Tue, Mar 28, 2017 at 7:49 AM darview_cheng <cheng...@gmail.com> wrote:
How can I build with the master branch with this change?
在 2016年10月12日星期三 UTC+8上午3:59:50,Dan Willemsen写道:--I’ll be submitting https://android-review.googlesource.com/286781 shortly in order to move the `build` project to `build/make`. This will only affect the master branch.
If you don’t have any local changes to the build project, just sync like normal, everything should just work.
If you have uncommitted changes, your sync will fail, and you’ll either have to commit your changes or reset the files in order to sync.
If you have local branches, the safest solution is to backup your changes (to gerrit, or otherwise) before your next sync, then apply them into the new project. If you don’t do that, this command should be able to restore your branches, at least until `git gc` runs:
(cd build/make; git fetch ../../.repo/projects/build.git refs/heads/*:refs/heads/* refs/published/*:refs/published/*; git config -l -f ../../.repo/projects/build.git/config | grep '^branch.' | sed 's/=/ /' | xargs -L1 git config)
If you encounter any problems, please respond here.
Thanks,
Dan
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
You received this message because you are subscribed to a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/vReGP8nyLuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-building+unsubscribe@googlegroups.com.
It looks like it's not finding your source directory. Running `gettop` should return the absolute path to your source directory. You can override this by setting the TOP environment variable, but it should auto-detect the value if you're in the source directory.That being said, if your source directory is corrupt due to this move, that could also cause problems -- does build/core/envsetup.mk exist? (build/core should be a symlink to build/make/core). If it doesn't exist, where there any errors from the last `repo sync`?- Dan
On Tue, Mar 28, 2017 at 7:49 AM darview_cheng <cheng...@gmail.com> wrote:
How can I build with the master branch with this change?
在 2016年10月12日星期三 UTC+8上午3:59:50,Dan Willemsen写道:--I’ll be submitting https://android-review.googlesource.com/286781 shortly in order to move the `build` project to `build/make`. This will only affect the master branch.
If you don’t have any local changes to the build project, just sync like normal, everything should just work.
If you have uncommitted changes, your sync will fail, and you’ll either have to commit your changes or reset the files in order to sync.
If you have local branches, the safest solution is to backup your changes (to gerrit, or otherwise) before your next sync, then apply them into the new project. If you don’t do that, this command should be able to restore your branches, at least until `git gc` runs:
(cd build/make; git fetch ../../.repo/projects/build.git refs/heads/*:refs/heads/* refs/published/*:refs/published/*; git config -l -f ../../.repo/projects/build.git/config | grep '^branch.' | sed 's/=/ /' | xargs -L1 git config)
If you encounter any problems, please respond here.
Thanks,
Dan
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
You received this message because you are subscribed to a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/vReGP8nyLuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-building+unsubscribe@googlegroups.com.