viatra / EMF-IncQuery

This repository is only kept for historic reasons. All development happens on eclipse.org
http://eclipse.org/viatra
13 stars 4 forks source link

EIQGEN validation for missing referred genmodel file #205

Closed istvanrath closed 12 years ago

istvanrath commented 12 years ago

If the referred genmodel file is missing, an error should be reported (instead of the current fail silent behavior, which, in the case when the EPackage is registered in the registry, will result in "no matches found" type errors on the Query Explorer.

istvanrath commented 12 years ago

Thie behavior is observed if the target project is closed.

ujhelyiz commented 12 years ago

Clarification: the query explorer (and the incquery engine) does not find results if different EPackage instances are available in the host eclipse (used by the editor) and in the runtime workspace (referenced using eiqgen files).

Additionally, EMF does not prevent us from opening a resource from a closed project using platform:/resource uris.

ujhelyiz commented 12 years ago

The previous comment seems to be invalid. Basically, the following code snippet does not get resolved if the school project is closed (as expected).

genmodel "platform:/resource/school/model/school.genmodel" 

I am proposing to close this ticket if no other issue is present around this.