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"

m (Building from Eclipse Workspace)
(Replaced content with "See [https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/about/ here] for a description how to build Code Recommenders from source. Category:Recommenders")
 
(49 intermediate revisions by 4 users 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.
+

Latest revision as of 07:00, 6 January 2014

See here for a description how to build Code Recommenders from source.

Back to the top