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 "Lyo/AdaptorCodeGeneratorWorkshop/EclipseSetup"

(Necessary Eclipse Installations: Added Update and download sites)
(Necessary Eclipse Installations)
Line 4: Line 4:
  
 
== Necessary Eclipse Installations ==  
 
== Necessary Eclipse Installations ==  
1. Install Eclipse Standard Kepler (4.3.1)
+
The code generator is known to work on both Eclipse Kepler and Luna.  
* 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)
+
1. Unless already installed, you need to first install a JDK (at least version 7 is necessary)
* Eclipse Git Team Provider (EGit)
+
 
** I used version 3.1.0
+
2. install one of the following (using Eclipse’s “'''Help --> Install new software'''” dialog)
** Update site for latest version: http://download.eclipse.org/egit/updates
+
=== Eclipse Standard Kepler (4.3.1) ===
** 3.1.0 download: http://archive.eclipse.org/egit/updates-3.1
+
* Eclipse Git Team Provider (EGit); version 3.1.0
* Maven Integration for Eclipse (m2e)
+
* Maven Integration for Eclipse (m2e); version 1.4.0
** I used version 1.4.0
+
* Acceleo; version 3.4.1
** Update site latest version: http://download.eclipse.org/technology/m2e/releases
+
* Eclipse Java EE Developer Tools; version 3.5.1
** 1.4.0 update site: http://download.eclipse.org/technology/m2e/releases/1.4/1.4.0.20130601-0317
+
* Eclipse Java Web Developer Tools; version 3.5.1
* Acceleo  
+
* EMF Facet SDK (Incubation); version 0.3.1
** I used version 3.4.1
+
* EMF - Eclipse Modeling Framework SDK; version 2.9.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 Standard Luna (4.4.2) ===
* Eclipse Java EE Developer Tools
+
* Maven Integration for Eclipse (m2e); version 1.5.1
** I used version 3.5.1
+
* Acceleo; version 3.5.1
** Update site: Kepler - http://download.eclipse.org/releases/kepler
+
* Eclipse Java EE Developer Tools; version 3.6.3
* Eclipse Java Web Developer Tools
+
* Eclipse Java Web Developer Tools; version 3.6.3
** I used version 3.5.1
+
* EMF Facet SDK (Incubation); version 0.4.2
** Update site: Kepler - http://download.eclipse.org/releases/kepler
+
* EMF - Eclipse Modeling Framework SDK; version 2.10.2
* 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 ==
 
== Eclipse Environment Setup ==

Revision as of 03:09, 2 October 2015

Eclipse Setup

The following steps need only be performed once to setup your Eclipse environment.

Necessary Eclipse Installations

The code generator is known to work on both Eclipse Kepler and Luna.

1. Unless already installed, you need to first install a JDK (at least version 7 is necessary)

2. install one of the following (using Eclipse’s “Help --> Install new software” dialog)

Eclipse Standard Kepler (4.3.1)

  • Eclipse Git Team Provider (EGit); version 3.1.0
  • Maven Integration for Eclipse (m2e); version 1.4.0
  • Acceleo; version 3.4.1
  • Eclipse Java EE Developer Tools; version 3.5.1
  • Eclipse Java Web Developer Tools; version 3.5.1
  • EMF Facet SDK (Incubation); version 0.3.1
  • EMF - Eclipse Modeling Framework SDK; version 2.9.1

Eclipse Standard Luna (4.4.2)

  • Maven Integration for Eclipse (m2e); version 1.5.1
  • Acceleo; version 3.5.1
  • Eclipse Java EE Developer Tools; version 3.6.3
  • Eclipse Java Web Developer Tools; version 3.6.3
  • EMF Facet SDK (Incubation); version 0.4.2
  • EMF - Eclipse Modeling Framework SDK; version 2.10.2

Eclipse Environment Setup

The following steps need only be done once per Eclipse environment setup.

  1. Clone the OSLC Core repository
    1. git clone git://git.eclipse.org/gitroot/lyo/org.eclipse.lyo.core.git
    2. cd org.eclipse.lyo.core
  2. View the Git repository in Eclipse
    1. Open the Git Repositories perspective in Eclipse
    2. Click the “Add an existing local Git repository” icon.
    3. Select the “org.eclipse.lyo.core” repository
    4. The repository should now show up in your Git Repositories view
  3. Import the Eclipse projects from the Git repository
    1. In the Git Repositories view, right click the org.eclipse.lyo.core repository and select Import Projects
    2. Select the Import Existing Projects wizard and click next
    3. Select the “adaptor_model” & “codegenerator” projects.
  4. Make sure JAVA_HOME environment variable is set to [at least] a JDK 1.6.
    1. JRE of eclipse needs to use JRE in the JDK dir
    2. Select Window-->Preferences
    3. Select Java-->Installed JREs
    4. Click Add…
    5. In the new window that appears,
      1. choose Standard VM as JRE Type
      2. click Next.
      3. As JRE home choose the installation dir of your JDK 1.6
      4. click Finish.
    6. Back to the preferences screen
      1. select the old JRE
      2. click Remove
      3. check the newly added JDK and
      4. click OK.

Back to the top