Build the feature jar with Bazel (#37)


7 files changed
tree: 043471611efc8eb5ac4e72530e9015bfd833ff83
  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. BUILD
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. LICENSE.txt
  13. README.md
  14. 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.