Core components of eMoflon
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.launch
.mvn
org.moflon.core.branding
org.moflon.core.build.tests
org.moflon.core.build
org.moflon.core.feature
org.moflon.core.plugins.tests
org.moflon.core.plugins
org.moflon.core.preferences
org.moflon.core.propertycontainer
org.moflon.core.releng.target
org.moflon.core.releng.updatesite
org.moflon.core.ui.autosetup.tests
org.moflon.core.ui.autosetup
org.moflon.core.ui.packageregistration
org.moflon.core.ui
org.moflon.core.utilities.tests
org.moflon.core.utilities
org.moflon.core.xtext
org.moflon.emf.build
org.moflon.emf.codegen
org.moflon.emf.injection.ide
org.moflon.emf.injection.tests
org.moflon.emf.injection.ui
org.moflon.emf.injection
org.moflon.emf.ui
org.moflon.git.ui
.codebeatignore
.gitignore
.project
LICENSE.md
README.md
pom.xml
projectSet.psf
shippable.bash
shippable.yml

README.md

eMoflon Core

Run Status Coverage Badge codebeat badge Codacy Badge Project Stats

This repository holds core components of the model-driven engineering tool eMoflon.

Capabilities of eMoflon Core:

  • Basic EMF builder (An autobuilder that regenerates Java code whenever you modify an .ecore file)
  • eMoflon perspective
  • eMoflon console

How to install

Eclipse update site available at https://emoflon.org/emoflon-core-updatesite/stable/updatesite/

Supplementary information

https://emoflon.org/ hosts the eMoflon website with general information.

https://github.com/eMoflon/emoflon-docu provides documentation and the Wiki of eMoflon.

Visit https://github.com/eMoflon/emoflon-core/issues to report any issues.

Licensing information can be found in LICENSE.md.

How to set up an eMoflon Core developer workspace

  • Install Eclipse Oxygen 2 with Modeling Tools (or higher)
  • Install XText 2.12.0 (or higher)
    • See Help -> Eclipse Marketplace... -> Find 'Eclipse XText'
    • Note: The entry says '2.11.0,' but 2.12.0 will be installed.
  • Clone Git repository from here: https://github.com/eMoflon/emoflon-core.git
  • Import the PSF file located here: https://raw.githubusercontent.com/eMoflon/emoflon-core/master/projectSet.psf)
  • Run all MWE2 workflows to generate XText-specific code
    • See "Open Resource" dialog (Ctrl+Shift+R) -> Filter for files ending with .mwe2
  • Make sure that autobuild is active so that the remaining code is generated and the Java compiler gets triggered.
    • See Project -> Build Automatically
  • To test your setup,
    1. open a runtime Eclipse workspace,
    2. create a new eMoflon EMF project (File -> New -> Other... -> Filter for 'eMoflon' -> New eMoflon EMF Project Wizard),
    3. add a dummy class to the .ecore file in the /models folder of the freshly created project, and
    4. observe how eMoflon generates the corresponding EMF-compliant Java code into the /gen folder.

How to provide the eMoflon Core update site

  • Follow the instructions in org.moflon.core.releng.updatesite/README.md for building and releasing the update site

How to work with Tycho

  • Make sure that Maven is installed
    • See Help -> Install new Software... -> Filter for 'm2e' or look into 'General Purpose Tools/m2e - Maven Integration for Eclipse'
  • Launch the launch configuration located here: /org.moflon.core.tycho.parent/.launch/emoflon-core.launch