Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[incquery-dev] Fw: [incquery-users] Re: Initializing EMF-IncQuery validators command not (always) available from context menu

Dear all,

it looks like our approach for query development scenarios (that is, either workspace or epackage registry) has been invalidated by tools like Xtext that require the developer to manually register workspace epackages in the registry.

I regard this an important issue and hence the corresponding bugzilla is assigned to M1.

Any thoughts?

Istvan

--
Istvan RATH, PhD
Research fellow
Budapest University of Technology and Economics
Fault Tolerant Systems Research Group

Forwarded message:

From: Istvan Rath <istvan.rath@xxxxxxxxx>
To: EMF-IncQuery Users on behalf of Joost van Pinxten <incquery-users@xxxxxxxxxxxxxxxx>
Date: Tuesday, January 29, 2013 8:37:46 AM
Subject: Re: [incquery-users] Re: Initializing EMF-IncQuery validators command not (always) available from context menu

Hi,

So, in order to keep them into one workspace, I can use either IncQuery or Xtext but not both, without them showing errors.

this depends on what you wish to use IncQuery for. For generic pattern matching/queries (through the UI, a.k.a. Query Explorer), nothing special is required, the EPackage needs to be resolvable somehow (either through the registry, or through the .eiqgen approach). Access to the ecore generated code is only required (at the moment) for the query generated code to compile and work and for extensions such as the Validation Framework.

If you do not need the generated code, a workaround is to disable the IncQuery compiler (through Preferences).

The point you raised is very much valid, though, and I opened a bugzilla to discuss this request on https://bugs.eclipse.org/bugs/show_bug.cgi?id=399357


regards
Istvan


Back to the top