Jump to: navigation, search

STEM Model Generator/Install

Important note:  The STEM Model Generator is currently intended for use in the Eclipse SDK only.  It is not intended for installation or use within the STEM application.

Before you begin, follow the steps of the STEM/Eclipse Setup to prepare your Eclipse development environment

Add the STEM Developer Tools Update Site into Eclipse

  1. Launch your Eclipse SDK
  2. Select the Help menu and choose Install New Software
    STEM-ModelGen-InstallNewSoftwareMenu.png
  3. When the Available Software dialog opens, click Add
  4. In Add Repository dialog, enter the following values:
    Name: STEM Developer Tools
    Location: http://download.eclipse.org/stem/update-site/prerelease/
    STEM-ModelGen-AddRepositoryDialog.png
  5. Click OK

Install the STEM Model Generator

  1. From the Available Software dialog, select STEM Developer Tools from the drop down
  2. Choose the STEM Model Generator Feature from the list of available software
    Note: You may have to uncheck Group items by category
    STEM-ModelGen-SelectFeatureDialog.png
  3. Click Next
  4. On the Install Details page, verify STEM Model Generator Feature is listed
    Note: If you did not install the Eclipse Modeling Framework (EMF) previously, it will be installed automatically
    STEM-ModelGen-InstallDetailsDialog.png
  5. Click Next
  6. On the Review Licenses page, review the licenses of the required software
    • If you accept all the license terms, select I accept the terms of the license agreements and click Finish
    • If you do NOT accept the terms, click Cancel
  7. The installer will now download and install the software. This process may take 5-10 minutes.
  8. If prompted with a Security Warning that you're about to install unsigned content, click OK
    STEM-ModelGen-SecurityWarning.png
  9. When the install finishes, you will be prompted to restart Eclipse
    • If all your changes are saved, click Restart Now
    • Otherwise, click Not Now, save any changes, and restart Eclipse
  10. After Eclipse restarts, the STEM Model Generator is ready for use

Once you're finished, return to the tutorial and follow the steps to Generate a STEM Computational Model project

Updating an existing install

Updating the Model Generator is easy using the Eclipse Update mechanism.

  1. Launch your Eclipse SDK
  2. Open the Help menu, select About Eclipse SDK
    On Mac OS X, this is under the Eclipse menu
  3. In the About Eclipse SDK window, click Installation Details
  4. In the Eclipse SDK Installation Details window, select STEM Model Generator Feature
    Image
  5. Click Update...
  6. Wait while the Eclipse Updater checks for updates
    • If no updates are found, click OK
      Image
    • If updates are found, the Available Updates window will appear
      Image
  7. On the Update Details page, click Next
  8. On the Review Licenses page, review the licenses of the required software
    • If you accept all the license terms, select I accept the terms of the license agreements and click Finish
    • If you do NOT accept the terms, click Cancel
  9. The installer will now download and install the updates. This process may take 2-5 minutes.
  10. If prompted with a Security Warning that you're about to install unsigned content, click OK
    STEM-ModelGen-SecurityWarning.png
  11. When the update finishes, you will be prompted to restart Eclipse
    • If all your changes are saved, click Restart Now
    • Otherwise, click Not Now, save any changes, and restart Eclipse
  12. After Eclipse restarts, the STEM Model Generator is updated and ready for use