Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 2.59 KB

INSTALL.md

File metadata and controls

27 lines (22 loc) · 2.59 KB

Installation Guide

Please follow the instructions below, or watch a step-by-step installation Instructions for Symboleo IDE (https://www.dropbox.com/s/bd00x45hzkx946a/step%20by%20step%20installation%20of%20Symboleo%20IDE.mov?dl=0)

Requirements

  • Eclipse 2019-09R or later (Please select Eclipse Modelling tool to install)
  • Download the latest Xtext plugin Instructions

Instructions

  • Clone or download the master branch of the repository
  • Open Eclipse
  • Before openning projects, set the encoding for both of your workspace and Xtend file types to UTF-8.
  • Use File > Open Projets from File System
  • Import each one of these five cloned directories into your Eclipse workspace (ca.uottawa.csmlab.symboleo, ca.uottawa.csmlab.symboleo.ide, ca.uottawa.csmlab.symboleo.tests, ca.uottawa.csmlab.symboleo.ui, ca.uottawa.csmlab.symboleo.ui.tests)
  • In the Package Explorer panel, right click on the Symboleo.xtext file under ca.uottawa.csmlab.symboleo\src\ca\uottawa\csmlab\symboleo directory, then click on Run as > Generate Xtext Artifacts

alt text

  • Wait for the process to finish, you should see the Done message in the Eclipse console
  • Now click on the Symboleo.xtext file. Select Yes to convert the project to an Xtext project
  • For each of the five projects (ca.uottawa.csmlab.symboleo.*), find the src-gen directory in the Package Explorer

alt text

  • Right click on the src-gen folder, select Build path > Use as source folder
  • If you are still seeing errors in the SymboleoGenerator.xtend file. Copy the code from here and paste it in Eclipse in the SymboleoGenerator.xtend file. This error is caused by the encoding setting of your Eclipse.
  • To start the Symboloe IDE right click on the ca.uottawa.csmlab.symboleo project in the Package Explorer, then select Run as > Eclipse aplication

alt text

  • In the new opened Eclipse window create a new project then create a new file with .symboleo extension. The generated Hyperledger Fabric code is inside the src-gen folder.