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/Query/UserDocumentation/GettingStarted"

< VIATRA‎ | Query
m (Fix formatting)
(Update to VIATRA Query 1.2)
Line 1: Line 1:
=Installing EMF-IncQuery=
+
=Installing VIATRA Query=
 +
 
 +
''Note:'' Versions before 1.2 were called EMF-IncQuery, so the name "VIATRA Query" has to be substituted accordingly.
  
 
== Dependencies ==
 
== Dependencies ==
EMF-IncQuery depends on recent version of Xtext/Xtend.
+
Each version of VIATRA Query depends on a specific version Xtext/Xtend.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 29:
 
|-
 
|-
 
! EMF-IncQuery 1.1
 
! EMF-IncQuery 1.1
 +
|| No || RT || RT || RT || RT || RT || Yes
 +
|-
 +
! VIATRA Query 1.2
 
|| No || RT || RT || RT || RT || RT || Yes
 
|| No || RT || RT || RT || RT || RT || Yes
 
|}
 
|}
Line 34: Line 39:
  
 
== Installation ==
 
== Installation ==
The main update site provides both the EMF-IncQuery runtime and the query development extensions for Eclipse. It is recommended to install as few features directly as needed, rely on the p2 installer to download required features:
+
 
* Select the ''EMF-IncQuery SDK'' feature
+
Use the update sites listed on the [https://eclipse.org/viatra/downloads.php project download page]. The main update site provides both the VIATRA Query runtime and the query development extensions for Eclipse in one SDK feature. It is recommended to install as few features directly as needed and rely on the p2 installer to download required features:
* If you want to use IncQuery with Graphiti or GMF, select the features ''GMF Support for EMF-IncQuery'' or ''Graphiti Support for EMF-IncQuery'', respectively
+
* Select the ''VIATRA Query SDK'' feature
 +
* If you want to use VIATRA Query with Graphiti or GMF, select the features ''GMF Integration for VIATRA Query'' or ''Graphiti Support for VIATRA Query'', respectively
 
* If the corresponding Xtext version is not available directly from the main eclipse update site, consult the [https://www.eclipse.org/Xtext/download.html official Xtext download page].
 
* If the corresponding Xtext version is not available directly from the main eclipse update site, consult the [https://www.eclipse.org/Xtext/download.html official Xtext download page].
  
 
=== Additional features ===
 
=== Additional features ===
* [[EMFIncQuery/UserDocumentation/RETE_Visualizer|Rete visualizer]] - experimental as of the [[GEF/GEF4]] Zest dependency
+
* VIATRA Query Test Framework
* Zest graph support for Viewers framework  - experimental as of the [[GEF/GEF4]] Zest dependency
+
* VIATRA Query Visualization - experimental as of the [[GEF/GEF4]] Zest dependency
  
 
Additionally, this update site contains the latest GEF4 Zest to ease the installation. Because of the frequent changes in GEF4 Zest, the graph viewer components are only tested with this bundled version of Zest - other versions may or may not work.
 
Additionally, this update site contains the latest GEF4 Zest to ease the installation. Because of the frequent changes in GEF4 Zest, the graph viewer components are only tested with this bundled version of Zest - other versions may or may not work.
  
 
= First steps =
 
= First steps =
The built-in cheat sheet should help you with the first steps. We also maintain a [[EMFIncQuery/UserDocumentation/QueryLanguage | web-based tutorial]]. Additionally, you can check the School and BPMN introductory walkthrough examples to help you get started.
+
The built-in cheat sheet should help you with the first steps. We also maintain a [[VIATRA/Query/UserDocumentation/QueryLanguage | web-based tutorial]]. Additionally, you can check the School and BPMN introductory walkthrough examples to help you get started.
  
 
== Examples ==
 
== Examples ==
We have a list of examples available in [[EMFIncQuery/UserDocumentation/Examples | Examples]].
+
We have a list of examples available in [[VIATRA/Query/UserDocumentation/Examples | Examples]].

Revision as of 06:57, 18 March 2016

Installing VIATRA Query

Note: Versions before 1.2 were called EMF-IncQuery, so the name "VIATRA Query" has to be substituted accordingly.

Dependencies

Each version of VIATRA Query depends on a specific version Xtext/Xtend.

Xtext 2.3 Xtext 2.4 Xtext 2.5 Xtext 2.6 Xtext 2.7 Xtext 2.8 Xtext 2.9
EMF-IncQuery 0.7 Compatibility branch Yes No No No No No
EMF-IncQuery 0.8 No RT RT * Yes RT RT RT
EMF-IncQuery 0.9 No RT RT RT Yes RT RT
EMF-IncQuery 1.0 No RT RT RT RT Yes RT
EMF-IncQuery 1.1 No RT RT RT RT RT Yes
VIATRA Query 1.2 No RT RT RT RT RT Yes

Remarks:

  • RT: runtime only; the development environment will not work with that version, but the runtime will
  • The codebase of EMF-IncQuery 0.8 is compatible with Xtext 2.5, but its editor components needs to be regenerated. To avoid confusion, the code base states it requires Xtext 2.6; but it can trivially be updated to work with 2.5 (after a regeneration of editor).

Installation

Use the update sites listed on the project download page. The main update site provides both the VIATRA Query runtime and the query development extensions for Eclipse in one SDK feature. It is recommended to install as few features directly as needed and rely on the p2 installer to download required features:

  • Select the VIATRA Query SDK feature
  • If you want to use VIATRA Query with Graphiti or GMF, select the features GMF Integration for VIATRA Query or Graphiti Support for VIATRA Query, respectively
  • If the corresponding Xtext version is not available directly from the main eclipse update site, consult the official Xtext download page.

Additional features

  • VIATRA Query Test Framework
  • VIATRA Query Visualization - experimental as of the GEF/GEF4 Zest dependency

Additionally, this update site contains the latest GEF4 Zest to ease the installation. Because of the frequent changes in GEF4 Zest, the graph viewer components are only tested with this bundled version of Zest - other versions may or may not work.

First steps

The built-in cheat sheet should help you with the first steps. We also maintain a web-based tutorial. Additionally, you can check the School and BPMN introductory walkthrough examples to help you get started.

Examples

We have a list of examples available in Examples.

Back to the top