-
-
Notifications
You must be signed in to change notification settings - Fork 28
IDE Setup
Since this is an Xtext project you need an Eclipse IDE to work on it. Download the Eclipse IDE for Java and DSL Developers from here. The latest version of Eclipse we worked with is 2019-12.
Before you can import the project, you have to install the Tycho Configurator m2e connector:
- Start your Eclipse
- Open the maven preferences page: Window -> Preferences -> Maven
- Under Discovery press the button Open Catalog and search for Tycho. You should find the Tycho Configurator:
![](./images/tycho-configurator_installation.png)
- Select the Configurator and press Finish.
- An eclipse installation wizard will appear. Go through the wizard to finish the installation and restart eclipse.
After having installed the Tycho Configurator you can import the project with as an existing maven project:
![](./images/maven_import_existing_projects.png)
Choose the directory in which you cloned the project as root directory and select all projects:
![](./images/import_context_mapper_project.png)
The imported project will have a lot of build errors. This is because some Xtext sources have to be generated first. An Eclipse launch configuration called 'GenerateContextMappingDSLInfrastructure' is delivered with the project:
![](./images/GenerateContextMappingDSLInfrastructure_Launcher.png)
Run this launch configuration (yes, even if there are build errors). As soon this has completed, please execute a clean build with Project -> Clean... -> Clean all projects.
That's it. You should have a clean workspace without build errors now.