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

Lyo/AdaptorCodeGeneratorWorkshop/EclipseSetup

< Lyo‎ | AdaptorCodeGeneratorWorkshop
Revision as of 03:29, 27 August 2014 by Jpo.at.work.gmail.com (Talk | contribs) (Necessary Eclipse Installations: Added Update and download sites)

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 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