-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
12 lines (11 loc) · 1.87 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
Installation:
- download and install Eclipse Modeling Tools (e.g. via the Eclipse installer from https://www.eclipse.org/downloads/)
- add the Eclipse Neon update-site (http://download.eclipse.org/releases/neon/) to the list of registered update-sites
- install ClassDiagram, SDM- and MoTE2-related Eclipse-Plugins from our update-site: https://www.hpi.uni-potsdam.de/giese/update-site/ ("SAM Modeling Languages", "SDM Metamodels, Editors, and Interpreters" and "MoTE2" category)
- install MoDisco from the MoDisco update-site: http://download.eclipse.org/modeling/mdt/modisco/updates/release/
Running:
- the "de.mdelab.migmm.sample.java2class.execute" project contains classes with main methods for experiment execution
- these classes usually need to be parametrized with at least an input model (e.g. from https://zenodo.org/record/8109856 and https://zenodo.org/records/11035076; use "*.history" files for multi-version ("History") experiments and the related directories for single-version ("Vanilla") experiments) and a TGG ("de.mdelab.mltgg.java2class/model-gen/config.xmi" for single-version models or "de.mdelab.mltgg.java2class.adapted/model-gen/config.xmi"/"de.mdelab.mltgg.java2class.adapted/model-gen-interleaved/config.xmi" for multi-version models)
- the employed pattern matching algorithm for multi-version transformations is chosen depending on the input TGG ("model-gen/config.xmi" for pattern matching with presence checks at the end, "model-gen-interleaved/config.xmi" for pattern matching with interleaved presence checks)
- the employed version set intersection procedure for multi-version transformation is chosen based on the recreating flags in the input model
- the "de.mdelab.migmm.sample.java2class.tests" project contains tests that validate the transformation and synchronization results of the multi-version implementation against the standard MoTE2 implementation for a sample model