Community
Participate
Working Groups
In order to use the AQL service allInstances(), Sirius should give AQL an IRootEObjectProvider during the creation of the interpreter. In the bundle o.e.s.common.acceleo.aql, it should create the AQLSiriusInterpreter using: public AQLSiriusInterpreter() { super(); this.queryEnvironment = Query.newEnvironmentWithDefaultServices(xRef, rootsProvider); ... } instead of public AQLSiriusInterpreter() { super(); this.queryEnvironment = Query.newEnvironmentWithDefaultServices(xRef); ... } This IRootEObjectProvider should let AQL know where to look for references. In the use case of Sirius, a first version should maybe look in all the semantic resources of the session (and the package registry? just Ecore.ecore?)
Thanks for your detailed bug report. We have reproduced this issue and we consider it as valid. Nevertheless, we have currently not planned to work on it in the following releases.