Skip to content

Cloning Kustvakt and Importing Sub projects to Eclipse

Eliza Margaretha edited this page Jul 19, 2021 · 8 revisions

The following instructions guide you to clone Kustvakt via Git and import its sub-projects into Eclipse (tested using Eclipse IDE for Enterprise Java and Web Developers version 4.19.0).

We will start with cloning the Kustvakt repository using a terminal.

  1. Open a terminal and go to your git directory (or create one)

  2. Run git clone https://github.com/KorAP/Kustvakt.git

Now we are switching to Eclipse.

  1. Since Kustvakt is built on Java 8, it is necessary to add the JRE of Java 8 to Eclipse.

    Select Window > Click Preferences

    Under Java, click Installed JREs > Add your JRE of Java 8 > Click Apply and Close

  2. We are going to import the cloned Kustvakt repository to Eclipse.

    On the top right menu, navigate to File > Click Import

    Under Maven, select Existing Maven Project > Click Next

  3. Set the Kustvakt project directory as the root directory > Select all sub-projects > Click Finish

    Done! The Kustvakt sub-projects has been added to Eclipse.

    Notice that the projects still have errors, because it is still necessary to install Lombok and set up the annotation processors for Eclipse.

Clone this wiki locally