Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "VIATRA/Releases/NewAndNoteworthy1.6"

(Add Coverage link)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= Development environment =
+
= Model Query Evaluation =
  
* Better error messages {{bugstrike|507732}}
+
* Better compatibility with incorrect notifications, e.g. duplicate delete events: strict mode in Base {{bugstrike|514525}}
* Tutorial {{bug|506618}}
+
* Dangling edges {{bug|512752}}
* New compiler options not to touch MANIFEST.MF and plugin.xml files, see {{bugstrike|513754}}
+
* Updated structure for generated private patterns, see {{bugstrike|514627}}
+
  
== Resource mapping support in Maven generator==
+
= Code generator updates =
 +
[[File:VIATRA Query Codegen Options.png|thumbnail|]]
 +
For users targeting other environment than Eclipse plug-ins, it is now possible to disallow the '''updating of MANIFEST.MF and plugin.xml''' files. The bundle manifest is updated to ensure all packages that contain query specifications are exported, while plugin.xml files are used by the query specification registry to load all patterns during runtimes.
  
You can now specify the location of metamodels referred to via <code>platform:/resource</code> URIs with the <code>uriMappings</code> configuration element. See [[VIATRA/UserDocumentation/Build#viatra-maven-plugin|this wiki page]] for more details. {{bugstrike|507748}}
+
This setting is available as a workspace-level preference or a per-project setting. By default, these settings are turned on (so both files are updated on each build), maintaining compatibility with previous releases.
  
= Query Evaluation =
+
The other major change relates to '''the handling of private patterns'''. Given private patterns are not expected to be used outside calling them from patterns in the same vql file, the generated code does not need all the type-safe wrappers generated. However, to make private patterns testable using the query test API, the generated QuerySpecification classes were moved to a dedicated package were they could be made public without exporting them to all users of the query bundles.
  
* Better compatibility with incorrect notifications, e.g. duplicate delete events: strict mode in Base {{bugstrike|514525}}
+
== Resource mapping support in Maven generator==
* Dangling edges {{bug|512752}}
+
 
 +
You can now specify the location of metamodels referred to via <code>platform:/resource</code> URIs with the <code>uriMappings</code> configuration element. See [[VIATRA/UserDocumentation/Build#viatra-maven-plugin|this wiki page]] for more details. {{bugstrike|507748}}
  
 
= Query Test Framework updates =
 
= Query Test Framework updates =
Line 19: Line 20:
 
* New customization options, e.g. EMF Scope, general Java comparison support, see {{bug|506498}}, {{bug|513147}} and {{bug|513391}}
 
* New customization options, e.g. EMF Scope, general Java comparison support, see {{bug|506498}}, {{bug|513147}} and {{bug|513391}}
 
* Query test coverage can be measured and reported, see [[VIATRA/Query/UserDocumentation/QueryTestFramework#Coverage_analysis_and_reporting|the feature's documentation]] for details.
 
* Query test coverage can be measured and reported, see [[VIATRA/Query/UserDocumentation/QueryTestFramework#Coverage_analysis_and_reporting|the feature's documentation]] for details.
 +
 +
 +
= Documentation updates =
 +
 +
To make it easier to get started with VIATRA, a [http://www.eclipse.org/viatra/documentation/tutorial.php tutorial] is added that presents an example for query and transformation development. In order to make the tutorial available for even more users, this documentation is also included in the platform help.
 +
 +
[[File:VIATRA query explain message.png|thumbnail|]]
 +
A few '''error messages''' in the query editor related to enumerable and non-enumerable references had been reported to hard to understand. In this version the error messages have been updated, and a quick fix was also added that updates a detailed explanation for the message. In future versions we plan to extend this support to make other error messages more understandable.
  
 
= GEF5-based visualization =
 
= GEF5-based visualization =
  
 
The Zest-based graph visualization components (Rete visualizer, Local search debugger and the graph visualization support of Viewers) was updated to rely on the latest GEF version 5.0 (available with Eclipse Oxygen). As GEF5 depends on JavaFX and e(fx)clipse, they have to be available in the runtime.
 
The Zest-based graph visualization components (Rete visualizer, Local search debugger and the graph visualization support of Viewers) was updated to rely on the latest GEF version 5.0 (available with Eclipse Oxygen). As GEF5 depends on JavaFX and e(fx)clipse, they have to be available in the runtime.

Revision as of 10:24, 24 May 2017

Model Query Evaluation

  • Better compatibility with incorrect notifications, e.g. duplicate delete events: strict mode in Base bug 514525
  • Dangling edges bug 512752

Code generator updates

VIATRA Query Codegen Options.png

For users targeting other environment than Eclipse plug-ins, it is now possible to disallow the updating of MANIFEST.MF and plugin.xml files. The bundle manifest is updated to ensure all packages that contain query specifications are exported, while plugin.xml files are used by the query specification registry to load all patterns during runtimes.

This setting is available as a workspace-level preference or a per-project setting. By default, these settings are turned on (so both files are updated on each build), maintaining compatibility with previous releases.

The other major change relates to the handling of private patterns. Given private patterns are not expected to be used outside calling them from patterns in the same vql file, the generated code does not need all the type-safe wrappers generated. However, to make private patterns testable using the query test API, the generated QuerySpecification classes were moved to a dedicated package were they could be made public without exporting them to all users of the query bundles.

Resource mapping support in Maven generator

You can now specify the location of metamodels referred to via platform:/resource URIs with the uriMappings configuration element. See this wiki page for more details. bug 507748

Query Test Framework updates


Documentation updates

To make it easier to get started with VIATRA, a tutorial is added that presents an example for query and transformation development. In order to make the tutorial available for even more users, this documentation is also included in the platform help.

VIATRA query explain message.png

A few error messages in the query editor related to enumerable and non-enumerable references had been reported to hard to understand. In this version the error messages have been updated, and a quick fix was also added that updates a detailed explanation for the message. In future versions we plan to extend this support to make other error messages more understandable.

GEF5-based visualization

The Zest-based graph visualization components (Rete visualizer, Local search debugger and the graph visualization support of Viewers) was updated to rely on the latest GEF version 5.0 (available with Eclipse Oxygen). As GEF5 depends on JavaFX and e(fx)clipse, they have to be available in the runtime.

Back to the top