]> source.dussan.org Git - jgit.git/commitdiff
pgm/BUILD: Add dependencty to java EWAH 22/196122/3
authorIvan Frade <ifrade@google.com>
Thu, 29 Sep 2022 18:24:29 +0000 (11:24 -0700)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 5 Oct 2022 23:12:45 +0000 (19:12 -0400)
A fetch to a locally run daemon triggers a runtime exception:

Listening on localhost/127.0.0.1:9418
java.lang.NoClassDefFoundError:
com/googlecode/javaewah/EWAHCompressedBitmap

Add javaEWAH in the deps of the PGM library.

To reproduce:

0. Assume a git repo in <dir-with-repos>/a-repo
1. Run daemon e.g.:
  $ bazel run //org.eclipse.jgit.pgm:jgit -- daemon --export-all=true
  --listen localhost --enable upload-pack <dir-with-repos>

2. Fetch:
  $ git clone git://0.0.0.0:9418/a-repo

Change-Id: I503f9fe45347a5891c3f3de0452b7f300b1e8206

org.eclipse.jgit.pgm/BUILD

index 2593122f40deeca5ed0a4841f9a72abe553e7c35..a267b155ac97c0c56bcab3c808389d5436038a82 100644 (file)
@@ -8,6 +8,7 @@ java_library(
     visibility = ["//visibility:public"],
     runtime_deps = [
         ":services",
+        "//lib:javaewah",
         "//org.eclipse.jgit.gpg.bc:gpg-bc",
     ],
     deps = [