Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
include_defs('//lib/maven.defs')
|
|
|
|
|
|
|
|
define_license(name = 'Apache1.1')
|
|
|
|
define_license(name = 'Apache2.0')
|
2013-08-21 08:57:39 -07:00
|
|
|
define_license(name = 'CC-BY3.0')
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
define_license(name = 'MPL1.1')
|
|
|
|
define_license(name = 'PublicDomain')
|
|
|
|
define_license(name = 'antlr')
|
|
|
|
define_license(name = 'args4j')
|
|
|
|
define_license(name = 'automaton')
|
|
|
|
define_license(name = 'bouncycastle')
|
|
|
|
define_license(name = 'clippy')
|
2013-05-18 14:58:59 -07:00
|
|
|
define_license(name = 'codemirror')
|
2013-08-21 08:57:39 -07:00
|
|
|
define_license(name = 'diffy')
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
define_license(name = 'h2')
|
|
|
|
define_license(name = 'jgit')
|
|
|
|
define_license(name = 'jsch')
|
|
|
|
define_license(name = 'ow2')
|
|
|
|
define_license(name = 'postgresql')
|
|
|
|
define_license(name = 'prologcafe')
|
2013-09-10 15:06:05 -07:00
|
|
|
define_license(name = 'protobuf')
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
define_license(name = 'slf4j')
|
|
|
|
define_license(name = 'DO_NOT_DISTRIBUTE')
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'gwtorm',
|
2013-12-05 19:07:46 +09:00
|
|
|
id = 'gwtorm:gwtorm:1.8',
|
|
|
|
bin_sha1 = '0ec006f69f7b8aa48e22d4bdecea820fd53c0b4b',
|
|
|
|
src_sha1 = 'b0e347a3053328f029c93ac347a4761a98293073',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'Apache2.0',
|
2013-09-10 15:06:05 -07:00
|
|
|
deps = [':protobuf'],
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
repository = GERRIT,
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'gwtjsonrpc',
|
2013-12-06 11:15:48 +09:00
|
|
|
id = 'gwtjsonrpc:gwtjsonrpc:1.4',
|
|
|
|
bin_sha1 = '7500577cbf3afc3395ce15a2f5bccc4b02b0d497',
|
|
|
|
src_sha1 = '589e8eeb4663ee7ba330275ccfac2d6b2c6f28db',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'Apache2.0',
|
|
|
|
repository = GERRIT,
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'gson',
|
|
|
|
id = 'com.google.code.gson:gson:2.1',
|
|
|
|
sha1 = '2e66da15851f9f5b5079228f856c2f090ba98c38',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'guava',
|
2013-09-30 14:42:27 -07:00
|
|
|
id = 'com.google.guava:guava:15.0',
|
|
|
|
sha1 = 'ed727a8d9f247e2050281cb083f1c77b09dcb5cd',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'Apache2.0',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'asm3',
|
|
|
|
id = 'asm:asm:3.2',
|
|
|
|
sha1 = '9bc1511dec6adf302991ced13303e4140fdf9ab7',
|
|
|
|
license = 'ow2',
|
|
|
|
attach_source = False,
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'ow2-asm',
|
|
|
|
id = 'org.ow2.asm:asm:4.0',
|
|
|
|
sha1 = '659add6efc75a4715d738e73f07505246edf4d66',
|
|
|
|
license = 'ow2',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'ow2-asm-analysis',
|
|
|
|
id = 'org.ow2.asm:asm-analysis:4.0',
|
|
|
|
sha1 = '1c45d52b6f6c638db13cf3ac12adeb56b254cdd7',
|
|
|
|
license = 'ow2',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'ow2-asm-tree',
|
|
|
|
id = 'org.ow2.asm:asm-tree:4.0',
|
|
|
|
sha1 = '67bd266cd17adcee486b76952ece4cc85fe248b8',
|
|
|
|
license = 'ow2',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'ow2-asm-util',
|
|
|
|
id = 'org.ow2.asm:asm-util:4.0',
|
|
|
|
sha1 = 'd7a65f54cda284f9706a750c23d64830bb740c39',
|
|
|
|
license = 'ow2',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'velocity',
|
|
|
|
id = 'org.apache.velocity:velocity:1.6.4',
|
|
|
|
sha1 = 'fcc58693dd8fc83d714fba149789be37cc19b66d',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
deps = [
|
|
|
|
'//lib/commons:collections',
|
|
|
|
'//lib/commons:lang',
|
|
|
|
'//lib/commons:oro',
|
|
|
|
],
|
|
|
|
exclude = ['META-INF/LICENSE', 'META-INF/NOTICE'],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'jsch',
|
2013-11-05 11:15:47 -08:00
|
|
|
id = 'com.jcraft:jsch:0.1.50',
|
|
|
|
sha1 = 'fae4a0b1f2a96cb8f58f38da2650814c991cea01',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'jsch',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'servlet-api-3_0',
|
|
|
|
id = 'org.apache.tomcat:tomcat-servlet-api:7.0.32',
|
|
|
|
sha1 = 'e2f21e9868414122e6dd23ac66cf304d4290642c',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
exclude = ['META-INF/NOTICE', 'META-INF/LICENSE'],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'args4j',
|
2013-11-14 23:42:59 +01:00
|
|
|
id = 'args4j:args4j:2.0.26',
|
|
|
|
sha1 = '01ebb18ebb3b379a74207d5af4ea7c8338ebd78b',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'args4j',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'mime-util',
|
|
|
|
id = 'eu.medsea.mimeutil:mime-util:2.1.3',
|
|
|
|
sha1 = '0c9cfae15c74f62491d4f28def0dff1dabe52a47',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
exclude = ['LICENSE.txt', 'README.txt'],
|
|
|
|
attach_source = False,
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'juniversalchardet',
|
|
|
|
id = 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3',
|
|
|
|
sha1 = 'cd49678784c46aa8789c060538e0154013bb421b',
|
|
|
|
license = 'MPL1.1',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'automaton',
|
|
|
|
id = 'dk.brics.automaton:automaton:1.11-8',
|
|
|
|
sha1 = '6ebfa65eb431ff4b715a23be7a750cbc4cc96d0f',
|
|
|
|
license = 'automaton',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'pegdown',
|
|
|
|
id = 'org.pegdown:pegdown:1.1.0',
|
|
|
|
sha1 = '00bcc0c5b025b09ab85bb80a8311ce5c015d005b',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
deps = [':parboiled-java'],
|
|
|
|
exclude = ['META-INF/LICENSE', 'META-INF/NOTICE'],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'parboiled-core',
|
|
|
|
id = 'org.parboiled:parboiled-core:1.1.3',
|
|
|
|
sha1 = '3fc3013adf98701efcc594a1ea99a3f841dc81bb',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
attach_source = False,
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'parboiled-java',
|
|
|
|
id = 'org.parboiled:parboiled-java:1.1.3',
|
|
|
|
sha1 = 'c2bf2935a8b3eca5f998557190cd6eb34f5536d0',
|
|
|
|
license = 'Apache2.0',
|
|
|
|
deps = [
|
|
|
|
':parboiled-core',
|
|
|
|
':ow2-asm-tree',
|
|
|
|
':ow2-asm-analysis',
|
|
|
|
':ow2-asm-util',
|
|
|
|
],
|
|
|
|
attach_source = False,
|
|
|
|
visibility = [],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'h2',
|
2013-08-04 21:55:41 +02:00
|
|
|
id = 'com.h2database:h2:1.3.173',
|
|
|
|
sha1 = '3d9cc700d2c6b0b7a9bb59bd2b850e6518b6c209',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'h2',
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'postgresql',
|
|
|
|
id = 'postgresql:postgresql:9.1-901-1.jdbc4',
|
|
|
|
sha1 = '9bfabe48876ec38f6cbaa6931bad05c64a9ea942',
|
|
|
|
license = 'postgresql',
|
|
|
|
attach_source = False,
|
|
|
|
)
|
|
|
|
|
2013-09-10 15:06:05 -07:00
|
|
|
maven_jar(
|
|
|
|
name = 'protobuf',
|
|
|
|
# Must match version in gwtorm/pom.xml.
|
|
|
|
id = 'com.google.protobuf:protobuf-java:2.4.1',
|
|
|
|
bin_sha1 = '0c589509ec6fd86d5d2fda37e07c08538235d3b9',
|
|
|
|
src_sha1 = 'e406f69360f2a89cb4aa724ed996a1c5599af383',
|
|
|
|
license = 'protobuf',
|
|
|
|
)
|
|
|
|
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
maven_jar(
|
|
|
|
name = 'junit',
|
|
|
|
id = 'junit:junit:4.11',
|
|
|
|
sha1 = '4e031bb61df09069aeb2bffb4019e7a5034a4ee0',
|
|
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
|
|
deps = [':hamcrest-core'],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'hamcrest-core',
|
|
|
|
id = 'org.hamcrest:hamcrest-core:1.3',
|
|
|
|
sha1 = '42a25dc3219429f0e5d060061f71acb49bf010a0',
|
|
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
|
|
visibility = ['//lib:junit'],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'easymock',
|
2013-11-07 22:29:27 +04:00
|
|
|
id = 'org.easymock:easymock:3.2',
|
|
|
|
sha1 = '00c82f7fa3ef377d8954b1db25123944b5af2ba4',
|
Build with Buck
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
2013-05-08 14:14:24 -07:00
|
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
|
|
deps = [
|
|
|
|
':cglib-2_2',
|
|
|
|
':objenesis',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'cglib-2_2',
|
|
|
|
id = 'cglib:cglib-nodep:2.2.2',
|
|
|
|
sha1 = '00d456bb230c70c0b95c76fb28e429d42f275941',
|
|
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
|
|
visibility = ['//lib:easymock'],
|
|
|
|
attach_source = False,
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = 'objenesis',
|
|
|
|
id = 'org.objenesis:objenesis:1.2',
|
|
|
|
sha1 = 'bfcb0539a071a4c5a30690388903ac48c0667f2a',
|
|
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
|
|
visibility = ['//lib:easymock'],
|
|
|
|
attach_source = False,
|
|
|
|
)
|