Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[incquery-dev] PatternLanguage EMF model generation updates

Hi,

I have managed to fix bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=401552 (the one about relative paths in generated ecore models). To achieve this, I have updated the generator workflow to use a customized version of a new EMFGeneratorFragment (available since Xtext 2.4.3).

This means that
1. you have to update to Xtext 2.4.3 or 2.5
2. you have to regenerate your parsers (using the mwe workflows)

The gains:
* The metamodel is not stored anymore in the src-gen folder, but a newly created model/generated folder.
* Metamodel references other metamodels via absolute urls, allowing a better use for metaprogramming.

If someone has any objections against this modification, I am open to revert it; however, I am convinced that it is helpful.

Cheers,
Zoli
-- Zoltán Ujhelyi
https://www.inf.mit.bme.hu/en/members/ujhelyiz

Fault Tolerant Systems Research Group
Budapest University of Technology and Economics



Back to the top