Bug 512504 - Allow disabling automatic target platform metamodel index updates
Summary: Allow disabling automatic target platform metamodel index updates
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Query (show other bugs)
Version: 1.6.0   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: 1.5.2   Edit
Assignee: Abel Hegedus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 09:54 EST by Abel Hegedus CLA
Modified: 2017-03-08 05:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abel Hegedus CLA 2017-02-21 09:54:46 EST
In the current version, each call to TargetPlatformMetamodelsIndex will lead to reading the extensions of _all_ workspace plugins (which includes accessing the plugin.xml files). This is done to ensure that any changes in Ecore models are correctly found when using the query editor or code generator.

However, in workspaces with large number of plugins (and possibly slow or monitored disk access), this can really slow down all related operations.

Since in many situations the Ecore models change rarely compared to query editing and code generation, there should be an option to turn this automatic update off through preferences.
Comment 1 Eclipse Genie CLA 2017-02-21 10:00:21 EST
New Gerrit change created: https://git.eclipse.org/r/91545
Comment 2 Eclipse Genie CLA 2017-02-27 10:50:46 EST
New Gerrit change created: https://git.eclipse.org/r/91916