Skip to content

Developer's Guide

michael-sh edited this page May 18, 2016 · 3 revisions

Just follow these steps and get startet:

Prerequisites:

  1. Java Development Kit:
    Download and install the latest Java Development Kit at
    http://www.oracle.com/technetwork/java/javase/downloads/index.html

  2. Git:
    Download and install Git (https://git-scm.com/) and a Git-client of your choice (e.g. TortoiseGIT: https://tortoisegit.org/).

  3. Eclipse:
    Download the latest Eclipse Modeling tools at https://www.eclipse.org/downloads/ and save it at a path of your choice, e.g. C:\Users\your.username\Eclipse

OpenCDT:

  1. Get the OpenCDT source code:
    Clone the master-branch with your Git-client from https://github.com/BauhausLuftfahrt/OpenCDT.git to a local path of your choice, e.g. C:\Users\your.username\GIT\OpenCDT

  2. Starting Eclipse:
    Start Eclipse, choose a workspace location (e.g. C:\Users\your.username\Workspace) and switch to the java perspective.

  3. Importing the OpenCDT projects:
    Click on File -> Import..., choose General -> Existing Projects into Workspace and click next. Click on Browse... and navigate to the path of your local OpenCDT repository. Now all OpenCDT projects should be listed. Select all projects except net.bhl.cdt.common and pictures and click on Finish.

  4. Setting the OpenCDT Target-Platform:
    Open the preferences dialog (Window -> Preferences) and type in the the filter text target platform. In the Target definitions list, select the OpenCDT Target Platform and click on Apply. The required packages for OpenCDT are downloaded now (this can take a while, time for coffee!).

  5. Run OpenCDT:
    Open the project net.bhl.cdt.client.e4, right click on the product file (net.bhl.cdt.client.e4.product) and select Run as -> Eclipse Application.

Clone this wiki locally