| Issue 2205: | building gerrit.war fails with "rule //:gerrit must be of type android_binary() or apk_genrule()" | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: master and stable-2.8 What steps will reproduce the problem? Follow instructions from https://gerrit-review.googlesource.com/Documentation/dev-buck.html#_installation I would expect the WAR to be created. Instead I get: tomasz@tomasz-VirtualBox:~/git/gerrit$ buck install gerrit [-] PARSING BUILD FILES...FINISHED 2.6s [+] BUILDING...167.9s |=> IDLE |=> //:gerrit... 3.6s (running genrule[3.5s]) [-] PARSING BUILD FILES...FINISHED 0.1s [-] PARSING BUILD FILES...FINISHED 0.1s BUILD FAILED: Specified rule //:gerrit must be of type android_binary() or apk_genrule() but was genrule(). I get the same error for master (bcce4e3bdfe4b25aabe4e86f39940d47c76ca41b) and stable-2.8.
Oct 22, 2013
Project Member
#1
david.pu...@sonymobile.com
Oct 22, 2013
(No comment was entered for this change.)
Cc:
sop@google.com
Oct 22, 2013
Actually, no, `buck install` is not valid. It is not mentioned at all in the documentation that you linked to. Use `buck build gerrit` or `buck build release`
Status:
Invalid
Oct 22, 2013
(No comment was entered for this change.)
Cc:
-sop@google.com
|
|
| ► Sign in to add a comment |