| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
TESTED=Added integration tests.
--
MOS_MIGRATED_REVID=98396197
|
| |
|
|
|
|
|
|
|
| |
--
Change-Id: I38630cd7d76d19af97e896bb4be78f357fe8b670
Reviewed-on: https://bazel-review.googlesource.com/#/c/1600/
MOS_MIGRATED_REVID=98106930
|
|
|
|
|
|
|
| |
It was erroring out because it could not mmap an empty file.
--
MOS_MIGRATED_REVID=97338974
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97248851
|
|
|
|
|
|
|
| |
Fixes #265
--
MOS_MIGRATED_REVID=97140486
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97135891
|
|
|
|
|
|
|
|
| |
Some ZIP files does not define external attributes leading
to wrong uncompression by the zipper of ijar.
--
MOS_MIGRATED_REVID=97117828
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96883818
|
| |
|
| |
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96816237
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96722918
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96566439
|
| |
|
|
|
|
|
| |
Downloaded from Maven Central:
http://central.maven.org/maven2/com/google/errorprone/javac/1.9.0-dev-r2644-1/javac-1.9.0-dev-r2644-1.jar
|
|
|
|
|
|
|
|
|
|
|
|
| |
It also add the annotations artifacts as the ErrorProne plugin of
JavaBuilder now needs it.
The artifacts are dowloaded from:
https://oss.sonatype.org/content/repositories/releases/com/google/errorprone/error_prone_core/2.0.3/
https://oss.sonatype.org/content/repositories/releases/com/google/errorprone/error_prone_annotations/2.0.3/
--
MOS_MIGRATED_REVID=96392823
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96365813
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is introducing a few changes to use the Java compiler
from errorprone:
- add the --java_langtools flag to the shell tests so
we do the tests with the same java compiler tooling than
Bazel, and
- added the langtools the bootclasspath of the JavaBuilder
tests.
- tagged some tests and deactivated them on travis OSX
because they either requires Java 8 or a lot of disk
space.
To do the same change on a local install, one must:
- change the source and target versions to 7 in the
tools/jdk:toolchain target,
- use the .travis/jdk7.WORKSPACE file instead of the
default Bazel workspace (it contains a maven_jar
refering to the errorprone's java compiler tools), and
- set the JAVA_VERSION environent variable to "1.7".
The .travis/build.sh script does just that when under OS X.
--
Change-Id: Idb466cf47cf7df35a34fb0dd8d186628aae0cba7
Reviewed-on: https://bazel-review.googlesource.com/#/c/1520/
MOS_MIGRATED_REVID=96011123
|
|
|
|
|
|
|
|
|
| |
running system.
Tested on OS X 10.10, Debian 8.1 (x86_64) and Debian 8.1 (i686).
--
MOS_MIGRATED_REVID=95819163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now [new_]http_archive can be used for executables as well as "default
permission" (644) files.
This also gets rid of the Apache Commons Compress dependency entirely, which is
nice. Fixing this also exposed some bugs in how archives were being decompressed
(the same archive was being decompressed multiple times), which I also fixed by
making the decompressors SkyFunctions.
Fixes #238.
--
MOS_MIGRATED_REVID=95747810
|
| |
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95640440
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95639138
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the blessed Bazel binary is self-hosted and correctly labeled.
All tools are also built using Bazel and labeled with the release.
At the end of the compilation, the output folder only host the
Bazel binary now. We use temporary folders to store the intermediate
artifacts.
Also integrated ./bootstrap_test.sh in compile.sh so there is only
one script for everything regarding bootstraping Bazel.
--
Change-Id: Idadbd075e7b8ecb6e306b919b7a73c647c5cfbae
Reviewed-on: https://bazel-review.googlesource.com/#/c/1460/
MOS_MIGRATED_REVID=95625880
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95424742
|
|
|
|
|
|
|
|
| |
This doesn't do transitive dependencies yet, but it parses a pom.xml file and
turns it into a WORKSPACE file.
--
MOS_MIGRATED_REVID=95305450
|
| |
|
|
|
|
| |
Change-Id: I4eb1450d5272430bf08e656f20663c7e46848c24
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added target to use java skylark rules to bootstrap
JavaBuilder and SingleJar. Uses thoses target to bootstrap
JavaBuilder and SingleJar and compiles all tools using
Bazel.
--
Change-Id: I5142917c8b31e04015fbab89382df36b4892d8c6
Reviewed-on: https://bazel-review.googlesource.com/#/c/1451/
MOS_MIGRATED_REVID=95281092
|
|
|
|
|
|
|
|
|
|
|
| |
This ZIP implementation is lightweight and rely on zlib for
compression. libarchive was a bit tricky to set-up so it's
better to use that one.
--
Change-Id: I607b492998572e834e095a4606eeb77c0b574542
Reviewed-on: https://bazel-review.googlesource.com/#/c/1410/
MOS_MIGRATED_REVID=94910072
|
|
|
|
|
|
|
|
|
| |
Also remove the leading slash when flattening files
Fixes #219.
--
MOS_MIGRATED_REVID=94751441
|
|
|
|
|
|
|
|
|
| |
For some reason PATH_MAX is not found on TravisCI.
Towards fixing #212.
--
MOS_MIGRATED_REVID=94696153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It extracts Zip/Unzip methods of ijar in a separate
library. A zipper binary is provided to test that
implementation outside. Note that this implementation
does not compute CRC-32 and unzip will complain on
file zipped with it (but Java won't complain).
The error handling has been replaced to use proper error
reporting instead of launching abort()'s allover the place
so ijar's zip library can be used outside of ijar.
Finally, support for ZIP preamble has been added to
handle self-extractable ZIP files.
--
Change-Id: I833034b4c0054925bada75102fe040db875da789
Reviewed-on: https://bazel-review.googlesource.com/#/c/1371/
MOS_MIGRATED_REVID=94656262
|
|
|
|
|
|
|
| |
java_binary rule for jarjar.
--
MOS_MIGRATED_REVID=94611863
|
|
|
|
| |
Contrary to the previous log message about jarjar, these can be deleted now.
|
|
|
|
|
|
| |
compatibility with existing rules.
third_party/jarjar will be deleted once the rules are migrated.
|
|
|
|
|
|
|
| |
--
Change-Id: I700baf9056bcb75c87579136fc764e84a5286c55
Reviewed-on: https://bazel-review.googlesource.com/#/c/1370/
MOS_MIGRATED_REVID=94465718
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94104253
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94001567
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93915666
|
|
|
|
|
|
|
|
|
|
|
| |
This resources was undeclared and led to an exeption when running
with the webstatusserver. Tested on my mac with `bazel
--use_webstatusserver=8080 test //src/test/shell/...`.
--
Change-Id: I9208b20e6792c5b23b5b1dcb419301cf901ae805
Reviewed-on: https://bazel-review.googlesource.com/1341
MOS_MIGRATED_REVID=93716608
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ijar tests were a bit bloated so using our shell test framework
to separate those tests into individual function and enable sharding.
The ijar tests are still ~70s on a macbook with a SSD drive (compared
to ~140s before).
Those 70s are spent in tests that write big files and test ijar
behavior with those big files. In those tests, disk IOs dominate
time. Timing the various operation gave that jaring the 2.2Gb large
file takes ~17s each time (operation we do twice). Simply creating
that file takes approximatively 10s. Reducing the number of
operations in that test would reduce significantly its duration.
Unfortunately, that would reduce the coverage of the test.
--
Change-Id: Idc817ab32b78b69bde8dd95ddedbcf6b9f12ee3f
MOS_MIGRATED_REVID=92723971
|