2.Choose the name, in this tutorial we use the default name proposed automatically by the XText wizard.
2.Set the name as it is proposed automatically by the 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.
...
...
@@ -9,18 +9,18 @@
7. (Optional)Unfold `org.xtext.example.mydsl.parent` project in the project explorer. It contains several children with the prefix `org.xtext.example.mydsl`. This step is not necessary
if your project explorer uses flat Project Presentation.
9. In `org.xtext.example.mydsl.target` open the `org.xtext.example.mydsl.target.target`.
10. Click reload. Wait until the count of plugins is not shown near each location website.
10. Click reload. Wait until the count of plugins is shown near each location website.
10. Select `https://download.eclipse.org/releases/2022-03 606` and click `Edit`tab.
11. Uncheck `Group by category`. Search for `Eclipse Platform Launcher Executables`and select the found entry. Click `Finish`. Do not forget to save the changes.
## Create Empty Plugin-Project.
## ConfigurePlugin-Project.
1. File -> New -> Project... -> Plugin Development -> Plugin Project
2. Set name to your.prefix.cli (in this tutorial org.xtext.example.mydsl.cli).
2. Set name to org.xtext.example.mydsl.cli.
3. Uncheck `This Project will make contributions to the UI` and set `Create a rich client application` to `yes`
4. Click next.
5. Choose `Headles Hello RCP` template and click `finish`
5. Choose `Headles Hello RCP` template and click `finish`.
6. Create a pom.xml with the following content.
...
...
@@ -39,14 +39,14 @@ if your project explorer uses flat Project Presentation.
</project>
```
## Create empty project.
## Configure product project.
1. File -> New -> Other -> General -> Project
2 Set project name to project.prefix.product (in this tutorial: org.xtext.example.mydsl.product).
2.Now we need to create a product file. Right click on the project -> New -> Other -> Plugin Development-> Product Configuration
3. In the wizard select, `Create a configuration file with basic settings `
4. Set file name to org.xtext.example.mydsl.product
5. Click Finish
6. Create pom with the content shown below
2 Set project name to org.xtext.example.mydsl.product.
3.Create a product file. Right click on the project -> New -> Other -> Plugin Development-> Product Configuration
4. In the wizard select, `Create a configuration file with basic settings `
5. Set file name to org.xtext.example.mydsl.product