|
|
(47 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | __TOC__
| + | See [https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/about/ here] for a description how to build Code Recommenders from source. |
| | | |
− | Building Eclipse Code Recommenders from sources should be pretty easy. If some of the steps below fail - let us know.
| + | [[Category:Recommenders]] |
− | | + | |
− | = Building with Maven '''without''' coverage tests =
| + | |
− | | + | |
− | # Clone code recommenders git repository.
| + | |
− | # Run 'mvn clean install'.
| + | |
− | | + | |
− | = Building with Maven including coverage tests =
| + | |
− | | + | |
− | # 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 [https://docs.sonatype.org/display/TYCHO/How+to+integrate+EMMA+(code+coverage)+with+Tycho this guide].
| + | |
− | # After installation run 'mvn clean install -P coverage'.
| + | |
− | | + | |
− | = Building from Eclipse Workspace =
| + | |
− | Configuring Eclipse Code Recommenders Workspace for Eclipse is slightly more complicated:
| + | |
− | | + | |
− | # Clone code recommenders git repository.
| + | |
− | # Run 'mvn clean install' once from the git repository root directory ('''required''': downloads model.zips for overrides and calls recommender).
| + | |
− | # Import all projects into your Eclipse workspace.
| + | |
− | # Set the workspace's target platform.
| + | |
− | ## Go to org.eclipse.recommenders.releng
| + | |
− | ## Open 'devel-3.6.target' target definition with target platform editor
| + | |
− | ## Wait until Eclipse resolved all dependencies. Check the progress view to see when resolving finished.
| + | |
− | ## Now click on the 'Set as target platform' link on the upper right corner of the editor.
| + | |
− | # Wait until workspace is rebuild and all compile errors went away (maybe except from the testdata project)
| + | |
− | # 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.
| + | |
− | | + | |
− | [[Category:Recommenders|Building From Sources]] | + | |