Use --override_repository instead of --package_path to inject the aspect

--package_path invalidates package loading when switching between command line
and IDE invocation. --override_repository was specifically designed not to have
that drawback

Change-Id: I0c0d10aaf23bc2b8035e2e7262584eacae9c82b6
8 files changed
tree: 9194ad0cf3051a15e4a48f885382f72ce3985c0f
  1. java/
  2. javatests/
  3. META-INF/
  4. resources/
  5. tools/
  6. .classpath
  7. .gitignore
  8. .project
  9. AUTHORS
  10. bazel_version.bzl
  11. BUILD
  12. build.properties
  13. CONTRIBUTING.md
  14. CONTRIBUTORS
  15. LICENSE.txt
  16. plugin.xml
  17. README.md
  18. WORKSPACE
README.md

Eclipse plugin for Bazel (Highly experimental)

e4b is an Eclipse plugin for Bazel. It is really rudimentary. It simply supports creating the classpath from a project and using Bazel for incremental builds..

You can create a new Bazel project with New project > Import Bazel project Then you can select the list of targets you want to build and the list of directories you want to track.

It is highly experimental and support is minimal. However, we are happy to accept contribution to make this support grows to a better shape.

Installation

This plugin was tested with Eclipse Mars (4.5) but should also work with Eclipse Neon (4.6).

Using the plugin

To import an existing Bazel project or start a new one, go to “New” > “Project...” > “Others”.

Missing features

See our contributing page to get some idea on what missing features need help on.