Post by Max MustermannHi all,
I am interested in EMF Query and I wonder what is the status of this
project. Its project website says that it has been merged into EMF
Services. The EMF Services website says that it is deprecated without
any further information about its (recommended) replacement. My
Is EMF Query project still active/maintained?
No. Speaking for myself, I "inherited" the component when it was merged
into EMF Services and I took over the maintenance of that. We (in Sirius
and at Obeo in general) use the Transaction and Validation components,
but have never used Query. Like Ed, I've never really understood its
purpose, it looks more like an empty shell. I don't know of any actual
user of it.
I had actually planned to completely remove it from EMF Services for
Photon, and keep only the Validation and Transaction components alive,
but failed to announce the change before M7, and at that point it seemed
to late to impose such a change.
If you end up adopting EMF Query or are intersted in maintaining it,
please tell me. Otherwise I will probably remove it at some future point.
Post by Max MustermannWhat is the (recommended) replacement of EMF Query?
Ed mentioned OCL, there are several other projects which offer solutions
to querying EMF models. Off the top of my head (but there may be others):
* AQL (https://www.eclipse.org/acceleo/documentation/aql.html): small,
minimal dependencies, designed to be easily embeded and extended. The
syntax and semantic are heavily inspired by OCL, but it diverges from
the standard in several parts where we felt it could improve its usability.
* VIATRA (https://www.eclipse.org/viatra/) provides IncQuery
(https://www.eclipse.org/viatra/query.php), a pattern-matching based DSL
for graph queries as part of its framework.
* Epsilon (https://www.eclipse.org/epsilon/doc/eol/) also has its own
language that they describe as "a mixture of Javascript and OCL".
Regards,
Pierre-Charles