Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (37 sloc) 3.69 KB

emoflon-tie-gt

Codacy Badge codebeat badge Project Stats Run Status

eMoflon Tool Integration Environment with Unidirectional Graph Transformation

Gettings started (user setup)

(These instructions are part of the eMoflon::TIE-GT handbook.)

Try out the following Eclipse Marketplace link or follow the subsequent step-by-step instructions. Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Step-by-step instructions:

  1. Install Eclipse with Modeling Components (2018-09 or above)
  2. Open Eclipse, navigate to Help → Install New Software..., and enter the following update site URL: https://emoflon.org/emoflon-tie-gt-updatesite/
  3. Select eMoflon::TIE-GT Feature.
  4. (Optional) If you plan to work with Emfatic, untick the option Group items by category to select Emfatic (Incubation).
    • Note: The filter bar ("type filter text") is helpful here!
  5. Press Next, and following the instructions.
    • If certain dependencies cannot be resolved, you may try enabling Contact all update sites during install to find software.
  6. Restart Eclipse and switch to the eMoflon perspective.

Developer setup

  1. Install Eclipse with Modeling Components (2018-09 or above)
  2. Open Eclipse, navigate to Help → Install New Software..., enter the following update site URL: https://raw.githubusercontent.com/eMoflon/emoflon-tie-gt-updatesite/master/, and select the following features:
    • Democles Pattern Matcher → Democles Pattern Matcher Specification and Pattern Matcher Compiler (0.5.0)
    • eMoflon::Core
    • eMoflon::IBeX Democles
    • Xtext → Xtext Complete SDK
    • (Required for test suite) Emfatic (Note: you need to untick the option Group items by category to see the Emfatic feature)
  3. Import https://raw.githubusercontent.com/eMoflon/emoflon-tie-gt/master/developerWorkspace.psf (Import → Team Project Set)
  4. Run all MWE2 workflows (see Ctrl+Shift+R → '*.mwe2').
    • Proceed even if Eclipse warns you about "Errors in the Workspace"
  5. The subsequent build should complete without errors.
  6. Run the test suite
    1. Start a runtime Eclipse instance (Run → Run Configurations... → Eclipse Application)
    2. Import the following team project set https://raw.githubusercontent.com/eMoflon/emoflon-tie-gt-examples/master/tieGtExamples.psf
    3. Ensure that automatic build is enabled (Project → Build Automatically)
    4. Run JUnit test suite in _EMoflonTieGtTestSuite (launcher file EMoflonTieGtTestSuite.launch)