This repository has been rewritten to move to the Eclipse Foundation. Find the old history here:
Java Xtend HTML
Switch branches/tags
Nothing to show
Clone or download
qtran-n4 Merge pull request #229 from eclipse/GH-224
GH-224: Avoid hack for populating go to menu entries for Xpect tests
Latest commit 415a242 Feb 16, 2018


A unit- and integration-testing framework that stores test data in any kind of text files and is based on JUnit. The core focus of Xpect is on testing Xtext languages and supporting the process of designing Xtext languages.

Installation further Information

Go to (and look for an Eclipse update-site).

Compile and Build Xpect by Yourself

The Fast Way: Download OOMPH and point it to Xpect.setup.

The Manual Way: Prerequisite: Java 1.6 or newer; Eclipse 3.8 or 4.2 or newer; Xtext 2.9.2.

  1. Clone (this repository)
  2. Import all projects into your Eclipse workspace.
  3. Set target platform to /org.eclipse.xpect.releng/target-platforms/eclipse_4_6_3-xtext_2_9_2/ (Preferences -> Plug-in Development -> Target Platform)
  4. Run /org.eclipse.xpect/src/org/eclipse/xpect/GenerateXpect.mwe2, /org.xtext.example.arithmetics/src/org/eclipse/xpect/example/arithmetics/GenerateXpect.mwe2, /org.xtext.example.domainmodel/src/org/xtext/example/domainmodel/GenerateDomainmodel.mwe2. Now your projects should be without errors markers. Sometimes, even after these steps, several projects still have error markers. However, this is a refresh problem in Eclipse. Simply clean build the projects with error markers will solve the issues.
  5. Run "mvn clean install" to build artefacts and create a p2 repository (formerly known as update site).