From 8bf182a780263445dcfe9233fbf2346b5f0d1d19 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Thu, 28 Mar 2019 09:05:59 +0100 Subject: [PATCH] Fix eclipse project generation Bug: Issue 10656 Change-Id: If61cb255177c11d60e223e40fbbfb7b06887cf54 --- tools/eclipse/BUILD | 1 + tools/eclipse/project.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/eclipse/BUILD b/tools/eclipse/BUILD index b8bfe16492..6b475d8ba8 100644 --- a/tools/eclipse/BUILD +++ b/tools/eclipse/BUILD @@ -10,6 +10,7 @@ load( TEST_DEPS = [ "//javatests/com/google/gerrit/elasticsearch:elasticsearch_test_utils", "//javatests/com/google/gerrit/server:server_tests", + "//proto/testing:test_java_proto", ] DEPS = [ diff --git a/tools/eclipse/project.py b/tools/eclipse/project.py index e9e249fdfc..24d4733133 100755 --- a/tools/eclipse/project.py +++ b/tools/eclipse/project.py @@ -254,6 +254,7 @@ def gen_classpath(ext): for p in sorted(proto): s = p.replace('-fastbuild/bin/proto/lib', '-fastbuild/genfiles/proto/') + s = p.replace('-fastbuild/bin/proto/testing/lib', '-fastbuild/genfiles/proto/testing/') s = s.replace('.jar', '-src.jar') classpathentry('lib', p, s)