Bazel: Generate eclipse project
servlet_api_2_5 can be exculded from the generated .classpath to avoid
classpath collisions between Servlet API 2.5 and Servlet API 3.0. To do
that, pass -x parameter to project.py invocation in project.sh:
... -n gitiles -r . -x servlet_api_2_5
TEST PLAN:
$ tools/eclipse/project.sh
Open the project in Eclipse IDE and verify that it can be compiled and
the tests can be run.
Change-Id: If318321fb1a94888a9adea635458afee2b463682
diff --git a/WORKSPACE b/WORKSPACE
index d55fd5c..24eb0f0 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,6 +1,9 @@
workspace(name = "gitiles")
load("//tools:bazlets.bzl", "load_bazlets")
-load_bazlets(commit = "3afbeab55ece585dbfc7a980bf7214b24ddbbe86")
+load_bazlets(
+ commit = "e10ae3f85781aa15054be802b2a9f9465b1bf1e0",
+# local_path = "/home/<user>/projects/bazlets"
+)
load("@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl",
"maven_jar",
"GERRIT")