Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Recommenders/BuildingFromSource"

(New page: __TOC__ 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 = # Clon...)
 
m (Building from Eclipse Workspace)
Line 28: Line 28:
  
  
In the case of problems point your browser to http://eclipse.org/forums/eclipse.recommenders - or -
+
= Trouble with Building Code Recommenders? =
Consider sending an email to developer mailing-list. For instructions how o join
+
'''Please let us know!''' Point your browser to http://eclipse.org/forums/eclipse.recommenders and drop us a few lines there.
the mailing list visit http://eclipse.org/recommenders/
+
 
+
In the case you want to contribute to the project check out the developer resources. Visit
+
http://eclipse.org/recommenders/ _Getting Involved_ section.
+

Revision as of 15:00, 9 February 2011

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 'devel-3.6.target' 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 http://eclipse.org/forums/eclipse.recommenders and drop us a few lines there.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.