|
|
## Create standard Xtext Project.
|
|
|
|
|
|
1. File -> New -> Project... -> Xtext -> XText Project
|
|
|
2. Choose the name, in this tutorial we use the default name proposed automatically by the XText wizard. We advise using Java 11 as Execution Environment.
|
|
|
2. Choose the name, in this tutorial we use the default name proposed automatically by the XText wizard.
|
|
|
3. Set Java 11 as Execution Environment.
|
|
|
4. Click next.
|
|
|
5. Preferred Build System must be Maven, Build Language Server can be set to None, since it is not in the scope of this tutorial.
|
|
|
6. Click Finish
|
... | ... | @@ -10,11 +11,12 @@ |
|
|
## Create Empty Plugin-Project.
|
|
|
|
|
|
1. File -> New -> Project... -> Plugin Development -> Plugin Project
|
|
|
2. It is good to choose the project name in a such way, that it contains the prefix of our xtext project, i.e. org.xtext.mydsl.pluginname.
|
|
|
2. Set name to your.prefix.cli (in this tutorial org.xtext.example.mydsl.cli).
|
|
|
3. Uncheck `This Project will make contributions to the UI` and set `Create a rich client application` to `no`
|
|
|
4. Choose `Headles Hello RCP` template and click `finish`
|
|
|
5. Create an empty pom.xml
|
|
|
6. Paste the xml-code provided bellow into the pom.xml
|
|
|
4. Click next.
|
|
|
5. Check `Create a plug-in using a template`. Choose `Headles Hello RCP` template and click `finish`
|
|
|
6. Create an empty pom.xml
|
|
|
7. Paste the xml-code provided bellow into the pom.xml
|
|
|
|
|
|
|
|
|
```
|
... | ... | |