Installation

There are different usage scenarios and installation variants which we will describe in the following. Currently, external users have to use the Eclipse Installation. If you have developer access, you can already try our Visual Studio Plugin. Lastly, we are experimenting with a GitLab Workspaces version.

Eclipse Installation

Here, you find the installation guidelines for the Eclipse plugins.

Step 1: Install Eclipse

To install Eclipse, you first have to download the Eclipse installer. Head over to the Eclipse download page.

There, you have to hit the Download button and-depending on your operating system-choose a matching package. The Eclipse page will forward you to a mirror selection page since the Eclipse installer is hosted on many servers over the world, it will ask you to select a server nearby.

Click the Download button and wait until your browser has downloaded the installer successfully. Then, start the Installer from your Downloads folder.

Select the Eclipse Modeling Tools installation package on the first page. Then, you can change the installation folder so it fits your needs. Otherwise, please remember the default location so you can find your Eclipse installation. (While the other)

Click the Install button and wait for the installation process to finish. The installation process might ask you whether you trust the installed packages. In this case, you have to check the corresponding checkbox and then press the Trust Selected button.

After the installation process, a final window shows up that allows you to start Eclipse directly. Simply click on the Launch button.

Eclipse will start up and ask you to select a workspace location. The workspace is the location where Eclipse stores the files you are creating and editing, for instance, the DSL files. Select a folder that fits your needs, for instance, in your Documents folder and select Launch.

Please see the next section for more details on the EvoAl plugin installation process.

Step 2: Install EvoAl Plugins

After the first start, you will find yourself in the Eclipse workspace and have to install the EvoAl plugins. Therefore, go to Help > Install New Software.

A window will show up that allows you to install new plugins for Eclipse.

Click the Add ... button. In the appearing Add Repository dialog use EvoAl as Name and https://evoal.glpages.informatik.uni-bremen.de/source/evoal-core/develop/ as Location.

Click the Add button to add the repository to Eclipse. Eclipse will use this repository to fetch new plugins. Now, check the checkbox next to EvoAl's DSLs in the Install dialog and press Next >.

Eclipse will now calculate the plugins to install, and the result should look like the following:

Confirm the dialog either by clicking Finish or Next >. If you have to click next, you have to review the licenses of the installed plugins and accept them.

You have to trust the authorities once more by checking the checkbox next to the EvoAl Update Site.

Finally, you have to trust the required artifacts by checking the same checkbox

After the installation has finished, Eclipse asks you to restart Eclipse to properly load the plugins. Please restart Eclipse here.

Writing your first DDL file

After starting Eclipse, you now can create a new project for writing EvoAl configurations. To do so, please close the Welcome tab and expand the Model Explorer (the small icon on the left-hand side of Eclipse). Now, right-click on the Model Explorer and select New > Project ....

Select General > Project in the dialog.

Now, choose a project name for the new file you want to create:

Select Finish. After the dialogue has closed, right-click on your newly created project and select New > File ...

Select example.ddl as the file name and select Finish. In the following dialog that asks if you want to convert the project to an Xtext project click Yes.

Now, write your data description, for instance:

module weather {
  data:
    /**
      * Average air temperature for the weather data
      *   set, measured in °C.
      */
    cardinal real data temperature
    with constraints:
      value > -273.15;
      value < 1k;
    ;

    /**
     * Month of the year, coded by the ordinal number of
     *   the month. January is represented by 1 and
     *   December is represented by 12, respectively.
     */
    ordinal integer data month
    with constraints:
      value >= 1;
      value <= 12;
    ;

    /**
     * City of the measure temperature, represented by
     *   the license plate city code, e.g. Bremen .
     */
    nominal string data city;
}

Your Eclipse should look like the following, and you can start testing with describing your domain data.

If you want to use some predefined EvoAl constraints for your data, you have to link the EvoAl specifications. Right-click your project and select New > Folder. Choose definitions as the folders name and click on Advanced ». Select the Link to alternate location (Linked Folder) radio button. Click on Browse ... and go to your EvoAl installation (the path from the EvoAl Installation) and select the definitions folder there.

Click Open and then Finish. Afterwards, you can add the

import "definitions" from 'de.evoal.core.constraints';

to your .ddl file.

Working in Visual Studio Code

There are two ways to start using EvoAl in Visual Studio Code (VS Code).

Option 1: Edit and Run VS Code Extension Locally

To compile and run the VS Code extension locally, you must ensure that VS Code version 1.94.0+, Node.js version 20+ and monaco-wrapper version 4 (not higher) are installed.

To install Node.js, you can follow the instructions on the website. If you haven’t yet installed VS Code, you can do so by following the download instructions on its official website. Once both applications are installed, verify the versions. In VS Code, go to Help > About to open a window displaying the current version information. After confirming that all requirements are met, you can choose between two installation methods. Further, the extension project specifically requires monaco-wrapper version 4 and is not compatible with newer versions.

After verifying the requirements, clone the Git repository from here.

After successfully cloning the repository, navigate to the directory and run: cd ./src/evoal-vcs-extension/ && npm i.

If problems such as missing files arise, you can additionally run npm run langium:generate.

This will generate any missing files to let you complete the installation.

Then, open the project in VS Code and press F5. This will open a new VS Code window with the activated extension, allowing you to work with on your language files.

Option 2: Install EvoAl VSC-Extension .vsix File

To install the extension via the .vsix file, go to Build > Artifacts in the GitLab project.

This will take you to the page containing all build outputs. Select the latest successful build and download it by clicking on the download icon on the left.

The download will be a file named artifacts.zip. Extract this archive. Inside, you will find the .vsix file named evoal-dsl-*.vsix. Remember the location of this file.

To install the extension in VS Code, go to File > Settings > Extensions.

After a click the menu button (three dots) in the top-right corner of the Extensions view, click on Install from VSIX and choose the .vsix extension file you downloaded.

Once the extension is installed, locate the EvoAl extension in the list. Open its settings by either right-clicking it or clicking the settings icon.

In the settings, set the EvoAl path to your local EvoAl installation.

After configuration, open any language file such as .ol, .mll, .ddl, .dl, .generator or .base and you should be able to see language support enabled.

Setting up GitLab Workspace

To work with EvoAl in a GitLab workspace, you’ll need to login with your GitLab account of University of Bremen. Begin by navigating to the GitLab homepage and selecting Workspaces from the menu. Click on New workspace to create a new workspace.

In the project selection screen, choose project evoal / source / evoal-workspaces-studie.

Ensure the correct cluster agent evoal / source / evoal-kubernetes-cluster / evoal-workspaces-agent is selected and confirm that devfile.yaml is selected. Click Create workspace. Once the workspace has started, select Open workspace to access it.

Once a new browser tab opens, authorize OAuth request to grant access to your GitLab account. You should be able to see a Vistual Studio Code interface. The workspace has been successfully initialized when you the filestartup-script.sh has appeared in the file system.

Open a terminal and run ./startup-script.sh. This script installs the required Evoal extension for Visual Studio Code.

You can now create and work on your language files directly in the workspace. Commit and synchronize your files as you would on a local system.

If you change any of the VS Code settings, make sure to do so in the Workspace section for them to be available after stopping the container. Changes will be lost otherwise.

To pause your work, click on Stop in the workspace menu. When you reopen the workspace later, remember to run ./startup-script.sh again to initialize the environment.

To end your session permanently, you can click Terminate. But note that all progress that is not synchronized will be lost after terminating your workspace.

EvoAl Installation

To install EvoAl, start by visiting Deploy > Releases to find the latest release.

You’ll see multiple release versions listed. Download the one that matches your operating system.

After downloading, extract the archive to your preferred location and remember the folder path - you’ll need it for any following setup. EvoAl needs Java 25 on the PATH; Running EvoAl describes the start scripts, the examples and the settings of a run.