Bazel: Include eclipse-out directory in .bazelignore

Since [1] Bazel added support for .bazelignore, allowing to specify
directories that should be ignored. We still preserve the exclusion of
BUILD files in generated .classpath file to avoid Eclipse warnings in
the form:

  The resource is a duplicate of java/BUILD \
  and was not copied to the output folder

[1] https://github.com/bazelbuild/bazel/issues/4888

Change-Id: I8dfd9b5701dfcc85fd51f626af448d0306b02857
diff --git a/.bazelignore b/.bazelignore
new file mode 100644
index 0000000..30f1613
--- /dev/null
+++ b/.bazelignore
@@ -0,0 +1 @@
+eclipse-out
diff --git a/tools/eclipse/project.py b/tools/eclipse/project.py
index dace182..5fd6126 100755
--- a/tools/eclipse/project.py
+++ b/tools/eclipse/project.py
@@ -141,9 +141,8 @@
   def classpathentry(kind, path, src=None, out=None, exported=None):
     e = doc.createElement('classpathentry')
     e.setAttribute('kind', kind)
-    # TODO(davido): Remove this and other exclude BUILD files hack
-    # when this Bazel bug is fixed:
-    # https://github.com/bazelbuild/bazel/issues/1083
+    # Excluding the BUILD file, to avoid the Eclipse warnings:
+    # "The resource is a duplicate of ..."
     if kind == 'src':
       e.setAttribute('excluding', '**/BUILD')
     e.setAttribute('path', path)