commit | 42c22a8fc814f625ca5e2496b8105add75e2e9a5 | [log] [tgz] |
---|---|---|
author | Michael Zhou <zhoumotongxue008@gmail.com> | Tue Mar 29 00:57:29 2016 -0400 |
committer | Michael Zhou <zhoumotongxue008@gmail.com> | Mon Apr 11 08:12:06 2016 +0000 |
tree | 6481bc59de2911937b9d3aa4d12007920ac02adf | |
parent | 309f8835f3c37e6d43f421448dc204db92e43609 [diff] |
Use @GwtIncompatible to exclude files incompatible with GWT Currently, GWT's Super Dev Mode shows "Ignored 7 units with compilation errors in first pass". This is because the 6 files listed in this change refer to classes / methods that are not emulated in GWT and should be excluded from the compilation. The production build doesn't suffer from this problem because we exclude them in gerrit-common/BUCK. Instead of listing them in BUCK, rely on Guava's handy @GwtIncompatible annotation. This tells the GWT compiler to ignore the file entirely, both in Super Dev Mode and production build. Add "-strict" to the launch configurations of Super Dev Mode so that developers can catch errors earlier. Change-Id: I6e2d6be303fa888a9b4776aaae1148d4fd9a211c
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.