Installation - turnus/turnus GitHub Wiki
Turnus is Java based tool and it uses Maven as its build tool.
For the GUI part of Turnus you need also Eclipse IDE.
You will need to have the following installed on your system:
- Java Development Kit (JDK)
- Apache Maven
- Eclipse IDE for UI and development
- Use at least JDK-17
- Follow the installation instructions for your operating system.
- Verify the installation by running the following command in your terminal:
You should see output indicating the installed version of Java.
java -version
- Download the latest version of Maven from the Maven download page. Or from your package manager.
- Follow the installation instructions for your operating system.
- Verify the installation by running the following command in your terminal:
You should see output indicating the installed version of Maven.
mvn -version
Once you have both Java and Maven installed, you can proceed with building Turnus.
- Open the
settings.xml
file located in the Mavenconf
directory (usually${user.home}/.m2/settings.xml
). - Add the following configuration inside the
<proxies>
tag:<proxies> <proxy> <id>example-proxy</id> <active>true</active> <protocol>http</protocol> <host>proxy.example.com</host> <port>8080</port> <username>proxyuser</username> <password>somepassword</password> <nonProxyHosts>www.google.com|*.example.com</nonProxyHosts> </proxy> </proxies>
- Replace the placeholder values with your actual proxy details.
- Save the
settings.xml
file.
This configuration will allow Maven to connect to the internet through the specified proxy.
Turnus uses Eclipse EMF as its core and is strongly related to the version of Eclipse.
The latest version of Turnus is 2023.6 and its associated version of Eclipse 2023-06.
- Use Eclipse 2023-06 and download the Eclipse IDE for Java and DSL Developers for your operating system and CPU architecture.
- Decompress the archive to a chosen location.
- You can use any file decompression tool available on your operating system.
- Open Eclipse and install 'Graphiti SDK' from:
- Navigate to
Help -> Install New Software
. - In the
Work with
field, enter the update site URL for Graphiti SDK, choose 2023-06. - Select
Graphiti SDK
from the list and follow the prompts to complete the installation.
- Navigate to
To build Turnus from the command line, follow these steps:
- Clone the repository from GitHub:
git https://github.com/turnus/turnus.git
- Navigate to the main folder of the project:
cd turnus
- Execute the following command to build the project:
mvn install
This will compile the project and install the necessary dependencies.
- From the menu bar:
Window -> Show View -> Project Explorer
- Right-click on the empty Project Explorer space and select
Import...
- On the Import Wizard select
Maven -> Existing Maven Projects
- Click
Browse...
and select the folder where Turnus was cloned - Click on
Select All
and thenFinish
- On the Import Wizard select
- Right-click on
turnus.core
project and thenRun As -> Maven Install
- After a while if the build is successful Eclipse will print on the Console window
...
...
[INFO] BUILD SUCCESS
...
- Right-click again on
turnus.core
project and thenMaven -> Update Project...
- Click
Select All
and thenOK
- Click
After this step your development environment for Turnus is ready. For lunching eclipse follow the step on Lunching page.