Fix location of external jars
1 file changed
tree: 1231754430e0d167d77b1072de79fe1510d38d06
  1. com.google.devtools.bazel.e4b/
  2. com.google.devtools.bazel.e4b.feature/
  3. javatests/
  4. p2updatesite/
  5. third_party/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. CONTRIBUTING.md
  10. CONTRIBUTORS
  11. LICENSE.txt
  12. README.md
  13. 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

Interesting feature to add is first to be able to launch test from Eclipse, correctly adding the eclipse debugger to the JVM.

Second, better support for BUILD file would be interesting. Maybe using Xtext.

Finally, the code is completely missing tests and improving the test coverage would be great.