Skip to main content

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

Great news, can this fix also cherry picked to the 0.7 maintenance branch?

Cheers,
  Ábel Hegedüs

Fault Tolerant Systems Research Group (FTSRG)
Department of Measurement and Information Systems (MIT)
Budapest University of Technology and Economics (BME)

On 2014.02.10. 23:28:51, Ujhelyi Zoltán <ujhelyiz@xxxxxxxxxx> wrote:

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

_______________________________________________
incquery-dev mailing list
incquery-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/incquery-dev

Back to the top