Skip to content

Source code development

Rene Ranzinger edited this page Jul 19, 2022 · 1 revision

To develop GRITS Toolbox or build a new version it is necessary to checkout 40+ repositories from GitHub. The following page shows how this can be done with little effort. There are also 10 additional projects for Java libraries in case it is necessary to update their functionality as all.

Prerequisite

Checkout source code

A list of all repositories that need to be cloned from GitHub can be found in the repository list. However, cloning them one by one can be time consuming. The following instruction can make this much easier:

  • Create a new folder for repositories
  • Copy the repository list into this folder
  • Linux/Mac: Open a console/terminal and change into the created folder. Run cat github.grits.list | xargs -L1 git clone
  • Windows: Open the file in a text editor and replace all "https:" with "git clone https:". Rename the file to github.grits.bat and run it.
  • This will clone all repositories in the created folder

Import into Eclipse

It is possible to import all repositories into Eclipse in one go:

  • Open Eclipse with the workspace create for GRITS Toolbox
  • Select File->Import...

Eclipse-import

  • In the following dialog select "Existing Projects into Workspace"

Eclipse-existingProject

  • Click Next >
  • In "Select root directory" choose the folder with the GRITS Toolbox repositories
  • All Repositories will be shown in the "Projects" list. Make sure all are selected and click Finish

Eclipse-existingProject2

  • All GRITS Toolbox plugins will be added to your workspace.
Clone this wiki locally