Skip to main content
Jump to: navigation, search


< Recommenders
Revision as of 17:26, 13 February 2011 by (Talk | contribs) (Trouble with Building Code Recommenders?)

Building Eclipse Code Recommenders from sources should be pretty easy. If some of the steps below fail - let us know.

Building with Maven without coverage tests

  1. Clone code recommenders git repository.
  2. Run 'mvn clean install'.

Building with Maven including coverage tests

  1. To run coverage tests you have to install Emma for measuring test coverage with maven. For a detailed description how to set up emma locally follow this guide.
  2. After installation run 'mvn clean install -P coverage'.

Building from Eclipse Workspace

Configuring Eclipse Code Recommenders Workspace for Eclipse is slightly more complicated:

  1. Clone code recommenders git repository.
  2. Run 'mvn clean install' once from the git repository root directory (required: downloads model.zips for overrides and calls recommender).
  3. Import all projects into your Eclipse workspace.
  4. Set the workspace's target platform.
    1. Go to org.eclipse.recommenders.releng
    2. Open '' target definition with target platform editor
    3. Wait until Eclipse resolved all dependencies. Check the progress view to see when resolving finished.
    4. Now click on the 'Set as target platform' link on the upper right corner of the editor.
  5. Wait until workspace is rebuild and all compile errors went away (maybe except from the testdata project)
  6. Done. Start your Eclipse runtime and trigger code completion on some Eclipse UI classes.

Trouble with Building Code Recommenders?

Please let us know! Point your browser to and drop us a few lines there.

Back to the top