-
Notifications
You must be signed in to change notification settings - Fork 0
Source code
qflanTeam edited this page Dec 16, 2022
·
12 revisions
The complete source code of QFLan is available in the code section of this repository
Building the code is a particularly tedious process. We recommend using the provided distributions.
In order to build the code it is necessary to:
- Install Java 11 from https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
- Install 'Eclipse IDE for Java and DSL Developers' 4.18 from here https://www.eclipse.org/downloads/packages/release/2021-06/r/eclipse-ide-java-and-dsl-developers
- Clone the repo in a chosen folder 'chosen_folder'
- Run eclipse using as workspace the folder 'ws418' within 'chosen_folder'
- On the top-bar menu, click on help -> install new software. Type http://download.eclipse.org/nebula/releases/latest and click add (as name write NEBULA). And choose 'all widgets' or similar
- Download the updated site of quickimage from https://github.com/Nodeclipse/quickimage/tree/master/quickimage-updatesite and install it as in point above using
local
and pointing to the downloaded folder - Right-click in the package explorer (on the left), select Import -> General -> Existing projects into workspace
- Navigate to the folder '418' within 'chosen_folder', select all projects, tick on 'copy projects into workspace'. Click Ok
- Open file GenerateQFLan.mwe2 in project it.imt.qflan.xtext (within package with same name). Right-click in the editor, Run as -> MWE2 Workflow
- In same project and package, open file QFLan.xtext. Right-click in the editor, Run as -> Generate XTEXT Artifacts
To run QFLan, open the correct product project depending on your OS, go to tab overview, and click on Launch an eclipse application