|
|
(13 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | = Eclipse Setup =
| + | #REDIRECT [[Lyo/modelling_and_generation/installation | Modelling and Generation Installation]] |
− | | + | '''''News''''': This workshop is now integrated into the [[Lyo/ToolchainModellingAndCodeGenerationWorkshop | Graphical Toolchain Modelling and Code Generation Workshop]]. The new modelling approach supports the modelling of a complete toolchain (including interactions between OSLC servers and clients), as well as a single server and/or client. |
− | The following steps need only be performed once to setup your Eclipse environment.
| + | |
− | | + | |
− | == Necessary Eclipse Installations ==
| + | |
− | 1. Install Eclipse Standard Kepler (4.3.1)
| + | |
− | * Unless already installed, you need to first install a JDK (at least version 7 is necessary)
| + | |
− | | + | |
− | 2. install the following (using Eclipse’s “'''Help --> Install new software'''” dialog)
| + | |
− | * Eclipse Git Team Provider (EGit)
| + | |
− | ** I used version 3.1.0
| + | |
− | ** Update site for latest version: http://download.eclipse.org/egit/updates
| + | |
− | ** 3.1.0 download: http://archive.eclipse.org/egit/updates-3.1
| + | |
− | * Maven Integration for Eclipse (m2e)
| + | |
− | ** I used version 1.4.0
| + | |
− | ** Update site latest version: http://download.eclipse.org/technology/m2e/releases
| + | |
− | ** 1.4.0 update site: http://download.eclipse.org/technology/m2e/releases/1.4/1.4.0.20130601-0317
| + | |
− | * Acceleo
| + | |
− | ** I used version 3.4.1
| + | |
− | ** Update site: http://download.eclipse.org/modeling/m2t/acceleo/updates/releases/
| + | |
− | ** 3.4.1 Download: http://download.eclipse.org/modeling/m2t/acceleo/updates/releases/
| + | |
− | * Eclipse Java EE Developer Tools
| + | |
− | ** I used version 3.5.1
| + | |
− | ** Update site: Kepler - http://download.eclipse.org/releases/kepler
| + | |
− | * Eclipse Java Web Developer Tools
| + | |
− | ** I used version 3.5.1
| + | |
− | ** Update site: Kepler - http://download.eclipse.org/releases/kepler
| + | |
− | * EMF Facet SDK (Incubation)
| + | |
− | ** I used version 0.3.1
| + | |
− | ** Update site: Kepler - http://download.eclipse.org/releases/kepler
| + | |
− | * EMF - Eclipse Modeling Framework SDK
| + | |
− | ** I used version 2.9.1
| + | |
− | ** Update site: Kepler - http://download.eclipse.org/releases/kepler
| + | |
− | * Diagram Editor for Ecore (SDK)
| + | |
− | ** I used version 1.2.0
| + | |
− | ** Update site: Kepler - http://download.eclipse.org/releases/kepler
| + | |
− | | + | |
− | == Eclipse Environment Setup ==
| + | |
− | The following steps need only be done once per Eclipse environment setup.
| + | |
− | | + | |
− | # Clone the OSLC Core repository | + | |
− | ## git clone git://git.eclipse.org/gitroot/lyo/org.eclipse.lyo.core.git
| + | |
− | ## cd org.eclipse.lyo.core
| + | |
− | # View the Git repository in Eclipse
| + | |
− | ## Open the Git Repositories perspective in Eclipse
| + | |
− | ## Click the “Add an existing local Git repository” icon.
| + | |
− | ## Select the “org.eclipse.lyo.core” repository
| + | |
− | ## The repository should now show up in your Git Repositories view
| + | |
− | # Import the Eclipse projects from the Git repository
| + | |
− | ## In the Git Repositories view, right click the org.eclipse.lyo.core repository and select Import Projects
| + | |
− | ## Select the Import Existing Projects wizard and click next
| + | |
− | ## Select the “adaptor_model” & “codegenerator” projects.
| + | |
− | # Make sure '''JAVA_HOME''' environment variable is set to [at least] a JDK 1.6.
| + | |
− | ## JRE of eclipse needs to use JRE in the JDK dir
| + | |
− | ## Select '''''Window-->Preferences'''''
| + | |
− | ## Select '''''Java-->Installed JREs'''''
| + | |
− | ## Click '''''Add…'''''
| + | |
− | ## In the new window that appears,
| + | |
− | ### choose '''''Standard VM''''' as JRE Type
| + | |
− | ### click '''''Next'''''.
| + | |
− | ### As '''''JRE home''''' choose the installation dir of your JDK 1.6
| + | |
− | ### click '''''Finish'''''.
| + | |
− | ## Back to the preferences screen
| + | |
− | ### select the old JRE
| + | |
− | ### click Remove
| + | |
− | ### check the newly added JDK and
| + | |
− | ### click '''''OK'''''.
| + | |