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.
Lyo/AdaptorCodeGeneratorWorkshop/EclipseSetup
< Lyo | AdaptorCodeGeneratorWorkshop
Revision as of 11:41, 14 July 2014 by Loiret.kth.se (Talk | contribs)
Eclipse Setup
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
- Maven Integration for Eclipse (m2e)
- I used version 1.4.0
- Acceleo
- I used version 3.4.1
- I used update site: http://download.eclipse.org/modeling/m2t/acceleo/updates/releases/
- Eclipse Java EE Developer Tools
- I used version 3.5.1
- Eclipse Java Web Developer Tools
- I used version 3.5.1
- EMF Facet SDK (Incubation)
- I used version 0.3.1
- EMF - Eclipse Modeling Framework SDK
- I used version 2.9.1
- Diagram Editor for Ecore (SDK)
- I used version 1.2.0
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.