Importing the Code - archimatetool/archi GitHub Wiki

Pre-requisites

Before you import the code make sure you've set up your Eclipse environment as explained in Setting up the Eclipse Environment

Importing the code from the Git repository

The Archi code is stored in a Git repository at GitHub. You need to import a copy of the code into your Eclipse workspace. The code consists of a number of plug-ins or "projects".

The (read-only) URI for the Archi Git repository is: https://github.com/archimatetool/archi.git

Importing the code with the inbuilt EGit in Eclipse

  1. From within Eclipse choose "File -> Import..."
  2. In the wizard select "Git -> Projects from Git". Click "Next"

import_git1

  1. Select "Clone URI" and then click "Next"

import_git2

  1. Add the details for the repository's URI (see above) and then click "Next"

import_git3

  1. Ensure that the "master" branch is selected (ignore all other branches) and then click "Next"

import_git4

  1. Choose a directory where you wish to store your local copy of the code and then click "Next"

import_git5

  1. The code will be cloned and downloaded from the repository. This may take some time. When this is done, choose "Import existing projects" and then click "Next."

import_git6

  1. Import all of the projects except for "archi" and "archi/tests" (these are folders, not projects) and then click "Finish"

import_git7

  1. Your workspace should now contain all the projects (note - the actual projects may differ to those shown in this screenshot depending on how recent the code is):

import_git8

You're not done yet! You'll see that the various projects have red crosses on them. We need to fix that in the next stage.

Next Steps

Now you are ready to move onto the next stage, Running and Debugging Archi.