Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.71 KB

DeveloperInformation.md

File metadata and controls

49 lines (37 loc) · 2.71 KB

Development Information

This section will comprise information on how to use the repository in your work. This includes how to set up a working environment and what branches exist. It is strongly advised to watch the seminar of Dimitris Kolovos, referenced in Epsilon.

Setup Environment

Epsilon is integrated into Eclipse. Therefore, this tutorial describes how to set up the respective Eclipse environment, the required plugins, and how to run the project in Eclipse.

InstallEpsilon

  • Import the project using File > Import... > General > Existing Project into Workspace and then choose the location of the git repository.
  • Open the folder lqnxsd right-click on lqn.ecore and select Register EPackages\

RegisterEPackages

  • For the run to work, there are more packages required. Go to Help > Install New Software... and install the following packages in the given order:
  • Right-click on the launch.xml (the ANT file that executes the workflow), choose Run As > Ant Build ... and the ANT configuration Dialog will open.
    • Select the BackAnnotation target instead of LoadModels
    • Go to the JRE tab and configure the JRE to use the Run in the same JRE as the workspace
    • The launch.xml has three variables, input name and output. Provide them by opening the Main tab and entering them in the textarea Arguments -Dinput=models -Dname=sample -Doutput=output
    • Click on Run
    • If everything works correctly, the Build will execute successfully.

AntConfigurationDialog

* If you want to use the workflow, you can provide your own UML diagrams to solve them by calling the launch.xml from another ANT script which provides the parameters `input`, `name` and `output`.

Branches

This section will give a short overview of the branches that are present in this repository and their purpose.

Master

TODO

Support-Workflow

In this branch, the workflow to execute the UML to LQN lives. The workflow is present in the launch.xml, and the LQN Ecore definition is also here.

Easier

TODO