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

Xtext/Workspace Setup

Here's how to set up your workspace for using Xtext.

  1. Download and install Eclipse Galileo (Eclipse 3.5 - latest Stream Stable Build) - download
  2. Start Eclipse
  3. Open the installation dialog (Help -> Install new software...)
  4. Select the latest milestone builds of the following features for installation:
    1. EMF SDK 2.5 - update site
    2. UML 2 End-User Features 3.0 - update site
  5. Restart Eclipse
  6. Open the installation dialog again (Help -> Install new software...)
  7. Select the latest milestone builds of the following features for installation:
    1. MWE 0.7.0 - update site
    2. Xpand 0.7.0 - update site
    3. Xtext 0.7.0 - update site
    4. Antlr Connector - update site
  8. Restart Eclipse

Here's how to set up your workspace for developing Xtext.

  1. Download and install Eclipse Galileo (Eclipse 3.5 - latest Stream Stable Build) - download
  2. Start Eclipse
  3. Open the installation dialog (Help -> Install new software...)
  4. Select the latest milestone builds of the following features for installation:
    1. EMF SDK 2.5 - update site
    2. UML 2 End-User Features 3.0 - update site
  5. Restart Eclipse
  6. Open the installation dialog again (Help -> Install new software...)
  7. Select the latest milestone builds of the following features for installation:
    1. MWE 0.7.0 - update site
    2. Xpand 0.7.0 - update site
  8. Restart Eclipse
  9. Start Eclipse
  10. Make sure you use ISO-8859-1 as default text file encoding (Preferences -> Workspace -> Text file encoding -> Other = ISO-8859-1
  11. Download and import the Xtext Team Project set file into your workspace. For details, please visit Xtext_Repository_Details
  12. You'll get some errors in xpand.example.* -projects. These can be savely ignored. Please close these projects.
  13. The project org.eclipse.xtend.typesystem.xsd.tests depends on these example projects. Please close this one as well.
  14. Export the following plugins into your dropins folder as deployable feature or plugin
    1. org.antlr.runtime
    2. org.easymock
    3. org.eclipse.xtext.log4j
    4. org.apache.commons.cli
    5. org.apache.commons.lang
  15. Close these exported projects
  16. Restart Eclipse

Nice to have, but not required

  • For easier colaboration and a task-focused interface, you can install Mylyn
  1. Open the installation dialog (Help -> Install new software...) and select Mylyn
    1. Mylyn Bridge: Eclipse IDE
    2. Mylyn Bridge: Java Development
    3. Mylyn Bridge: Plug-in Development
    4. Mylyn Bridge: Team Support
    5. Mylyn Connector: Bugzilla
    6. Mylyn Focused UI
    7. Mylyn Task List

Copyright © Eclipse Foundation, Inc. All Rights Reserved.