kbach created page: home authored by Kerstin Bach's avatar Kerstin Bach
## Getting started
myCBR workbench uses the mycbr SDK and builds an UI on top of it.
### Pre-requisites
This instructions assumes you're using Eclipse 4.3 (Kepler), but it should also work for older versions: https://www.eclipse.org/downloads/index-developer.php
Further, swt has to be added to the project folder: http://www.eclipse.org/swt/
- Download the zip file
- In eclipse do:
> Import
> Existing projects into workspace
> Select archive file
> Specify location
> hit finish
- Now you should have a project called org.eclipse.swt
Eclipse needs an SSH key that you have added to gitlabs:
- This tutorial shows you how to create an SSH key: http://www.youtube.com/watch?v=WU9xYP_NScQ
- Take the public key and add it to
> User (right upper corner)
> Edit profile settings
> SSH keys
> Add SSH key be hitting the green button and c&p the public key
### Getting the workbench source code
The source code is provided as git repository: git@git.opendfki.de:mycbr/mycbr-workbench.git
- Make sure you have access to the repository: https://git.opendfki.de/mycbr/mycbr-workbench
- In eclipse do the following
> Import
> Git
> Projects from Git
> Clone URI
> Enter URI: git@git.opendfki.de:mycbr/mycbr-workbench.git
> Hit next (do not edit anything in this window)
> Enter the password for the SSH key linked to eclipse
> select the branch you want to work on (e.g. master)
> specify the folder on your machine where to store the checked out code
> hit finish
- After you have added the code you might get compile errors. They can be resolved by updating the dependencies as follows
> In the main project there is a file called mycbr.product.
> Select this file.
> Open dependencies tab
> Click "Remove All"
> Click "Add" and type "de.."
> Select de.dfki.mycbr.gui
> Click "Add Required Plug-ins"
> Save your changes
Now you should be able to run the workbench by clicking on the white arrow in the green circle on the upper right corner.