|
|
## 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:
|
|
|
1. Import
|
|
|
2. Existing projects into workspace
|
|
|
3. Select archive file
|
|
|
4. Specify location
|
|
|
5. hit finish
|
|
|
Now you should have a project called org.eclipse.swt
|
|
|
|
|
|
Add e4 Tools: http://www.vogella.com/tutorials/EclipseRCP/article.html#tutorial_installation
|
|
|
1. Help > Install new software
|
|
|
2. Link: http://download.vogella.com/kepler/e4tools
|
|
|
3. Select
|
|
|
- CSS for Eclpise 4
|
|
|
- Eclipse 4 core tools
|
|
|
Finish the installation
|
|
|
|
|
|
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
|
|
|
1. User (right upper corner)
|
|
|
2. Edit profile settings
|
|
|
3. SSH keys
|
|
|
4. 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
|
|
|
1. Import
|
|
|
2. Git
|
|
|
3. Projects from Git
|
|
|
4. Clone URI
|
|
|
5. Enter URI: git@git.opendfki.de:mycbr/mycbr-workbench.git
|
|
|
6. Hit next (do not edit anything in this window)
|
|
|
7. Enter the password for the SSH key linked to eclipse
|
|
|
8. Select the branch you want to work on (e.g. master)
|
|
|
9. specify the folder on your machine where to store the checked out code
|
|
|
10. hit finish
|
|
|
|
|
|
After you have added the code you might get compile errors. They can be resolved by updating the dependencies as follows
|
|
|
1. In the main project there is a file called __mycbr.product__.
|
|
|
2. Select this file.
|
|
|
3. Open dependencies tab
|
|
|
4. Click "Remove All"
|
|
|
5. Click "Add" and type "de.."
|
|
|
6. Select de.dfki.mycbr.gui
|
|
|
7. Click "Add Required Plug-ins"
|
|
|
8. 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.
|
|
|
|
|
|
|
|
|
[Building the workbench](BuildingStandalone) |
|
|
\ No newline at end of file |