From ca1c70ff5f12604a94ca0810a1c73d6ae7efe7cb Mon Sep 17 00:00:00 2001 From: Ivan Frade Date: Thu, 29 Sep 2022 11:24:29 -0700 Subject: [PATCH] pgm/BUILD: Add dependencty to java EWAH 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 /a-repo 1. Run daemon e.g.: $ bazel run //org.eclipse.jgit.pgm:jgit -- daemon --export-all=true --listen localhost --enable upload-pack 2. Fetch: $ git clone git://0.0.0.0:9418/a-repo Change-Id: I503f9fe45347a5891c3f3de0452b7f300b1e8206 --- org.eclipse.jgit.pgm/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.jgit.pgm/BUILD b/org.eclipse.jgit.pgm/BUILD index 2593122f40..a267b155ac 100644 --- a/org.eclipse.jgit.pgm/BUILD +++ b/org.eclipse.jgit.pgm/BUILD @@ -8,6 +8,7 @@ java_library( visibility = ["//visibility:public"], runtime_deps = [ ":services", + "//lib:javaewah", "//org.eclipse.jgit.gpg.bc:gpg-bc", ], deps = [ -- 2.39.5