Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "STEM Setup"

(Install the Eclipse Modeling Framework (EMF))
Line 24: Line 24:
 
# Open the Eclipse Software Installer by opening the '''Help''' menu and choosing '''Install New Software'''
 
# Open the Eclipse Software Installer by opening the '''Help''' menu and choosing '''Install New Software'''
 
# When the Install dialog, select the '''Indigo''' repository from the drop-down menu.  Wait while the list of additional features loads.
 
# When the Install dialog, select the '''Indigo''' repository from the drop-down menu.  Wait while the list of additional features loads.
# Scroll down and expand the ''' Modeling ''' category
+
# Scroll down and expand the ''' Modeling ''' category by clicking the arrow next to it
 
# Select the check mark next to ''' EMF - Eclipse Modeling Framework SDK '''
 
# Select the check mark next to ''' EMF - Eclipse Modeling Framework SDK '''
 
# Click ''' Next '''
 
# Click ''' Next '''

Revision as of 18:11, 26 July 2011

Welcome

This is a tutorial on how to get the STEM source code downloaded, compiled, and running in your Eclipse Development Environment. This tutorial is mainly for committers and advanced users that want to work with the STEM source directly.

Getting Started

STEM is a Java application built on top of the Eclipse Rich Client Platform (RCP). To build and run the STEM, a developer must install a supported Java Development Kit (JDK) and the Eclipse SDK. While it may be possible to compile STEM in another IDE, we strongly recommend you use the Eclipse SDK.

Pre-requisites

To download and compile the STEM source, developers should first install the following components:

  1. A workstation that runs an operating system supported by the Eclipse Platform, including Windows (XP, Vista, 7), Linux (GTK), or Mac OS X.
  2. A supported Java Standard Edition (J2SE) 6.0 JDK from either Oracle or IBM. Mac OS X users can use the version included with the operating system.
    Oracle Java SE 6.0
    IBM Java SE 6.0
    • Note: The GNU for Java (GCJ) compiler and libraries are not supported. If you're running on Linux, we strongly recommend you use an Oracle or IBM compiler
  3. Eclipse Classic SDK 3.7 (Indigo)

Setting up your Eclipse SDK

Before you attempt to checkout and compile the STEM source code, some additional features must be installed into your Eclipse SDK.

Install the Eclipse Modeling Framework (EMF)

Much of STEM is built using modeled code generated by the Eclipse Modeling Framework. To extend these models, or editing existing models, EMF must be installed into your environment.

  1. Launch your Eclipse SDK
  2. Open the Eclipse Software Installer by opening the Help menu and choosing Install New Software
  3. When the Install dialog, select the Indigo repository from the drop-down menu. Wait while the list of additional features loads.
  4. Scroll down and expand the Modeling category by clicking the arrow next to it
  5. Select the check mark next to EMF - Eclipse Modeling Framework SDK
  6. Click Next
  7. Verify that EMF is in the list of features to install. Click Next
  8. Read the license agreement and, if you accept, choose I accept the terms of the license agreement
  9. Click Finish
  10. Wait while EMF installs into your Eclipse SDK. This may take several minutes.
  11. When the installer finishes, it'll prompt you to restart. Click Restart Now

Back to the top