+1 (972) 883-2091
ECSS 4.220, 800 W Campbell Rd, Richardson, TX 75083–0688, US

Download DIVAs4 Source Code from GitHub repository

Technical requirements

The following software is required to work on DIVAs 4:

  • Java SE Development Kit 8
  • Eclipse IDE for Java Developers with Maven support. In this tutorial, we will be using Eclipse MARS – Release (4.5.1).
  • To checkout the source code, you can use either TortoiseSVN Version1.7 (issues with connection to the repository in version 1.9) or GitHub Desktop

Download DIVAs4 Source Code from GitHub repository

The source code for the DIVAs 4 framework can be checked out from Github Desktop.

  1. In the “Repository URL” type the following URL:
    https://github.com/utdmavs/divas.git
  2. In the “Local Path” choose the path you want to save the source code.
  3. Click on “Clone” for downloading the code.

Importing DIVAs in eclipse

To import the DIVAs 4 framework into eclipse IDE, you must do the following:

    1. Open the Eclipse IDE and select your workspace
    2. Right click on the project explorer > click “Import…” > click “Maven” > choose “Existing Maven Projects” and press “Next”
    3. A dialog will be displayed. Click “Browse” and choose the root directory where you checked out the DIVAs framework. In the project pane, make sure that the parent checkbox “/divas/pom.xml” is checked. Then, click “Finish”.

import_maven

    1. Maven modules will show in the Package Explorer

maven_modules

  1. Wait for Eclipse to finish “Building workspace”

Configuring the Eclipse environment

The DIVAs 4 framework makes use of a set of external Java libraries. In addition, a wide variety of 3D models are used by the DIVAs’ 3D visualizer. In order to compile any application built using DIVAs, it is necessary to download these libraries and models then you must link them to your application as follows:

    1. In eclipse, Go to Windows > Preferences > Java > Installed JREs > Add > Standard JVM > Next. A new window should appear as follows:
    2. Click on Directory and navigate to where you installed the Java JDK. Make sure you select the “jdk” folder and not the “jre”. Then clcik “Finish”.

maven_modules

    1. IMake sure to check the box beside the installed JRE name as in the following figure:

maven_modules

  1. Press “OK” and wait for Eclipse to finish “Building workspace”.