@@ -6,13 +6,32 @@ For development, we are using Eclipse and IntelliJ.
Eclipse is used for creating and developing the [models and languages](#modifying-models-and-languages).
Using Eclipse is necessary since we are using the Eclipse Modeling Framework and Xtext.
Please make sure that you install all necessary dependencies for the development.
IntelliJ is used to develop the [EvoAl execution runtime](#changing-evoal-execution-runtime).
We are using IntelliJ here since it offers good support for Maven-based projects and they offer their full version (IntelliJ Ultimate) for universities for free.
IntelliJ is used to develop the [EvoAl execution environment](#changing-evoal-execution-environment).
We are using IntelliJ here since it offers good support for Maven-based projects, and they offer their full version (IntelliJ Ultimate) for university members for free.
Furthermore, you have to check out EvoAl to your computer.
## Modifying Models and Languages
You can find the models and languages in the `src/languages` folder in the repository.
### Required Eclipse Plugins
You have to install the following Eclipse plugins (WARNING: This is not yet validated. Please contact us if you have problems which plugins to choose):
*`m2e` Maven support for Eclipse (this will install Tycho and additional plugins)
*`EMF` Eclipse Modelling Framework plugins
*`Xtext` The Xtext DSL support
## Changing EvoAl Execution Runtime
\ No newline at end of file
### Setting Up Eclipse
First, you have to import the existing Maven project.
To this end, select the `pom.xml` that exists in the `src/languages` folder.
After successfully importing all projects you have to activate the `Target Platform` of EvoAl.
Therefore, you have to go to the Eclipse settings, search for the `Target Platform Settings` and select the target platform that is present in the `de.evoal.languages.releng.target` project.
### Changing Code
Simply do your changes and test them by starting an Eclipse that include the changes (`Run As` > `Eclipse`).
### Installing Changed Languages for the Execution Environment
For using the changes in the EvoAl execution environment, you have to install your changes to your local maven repository by executing `mvn flatten:flatten install` in the `src/languages` folder.
The `flatten:flatten` parameter is necessary to replace some variables used in the `pom.xml` files by their concrete values to allow the downstream maven projects (those from the EvoAl execution environment) to use them without problems.
## Changing EvoAl Execution Environment
You can find the EvoAl execution runtime in the `src/evoal` folder in the repository.