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.
VIATRA2 R3.1 is available as an Eclipse feature, and as such, it requires Eclipse Galileo (3.5.x). VIATRA2 also uses some Java6-specific features, so you should have an up-to-date version of the Java1.6 software development kit (Java6 Standard Edition SDK download).
Required Eclipse Components
VIATRA2 R3.1 (with the default add-ons) requires the following Eclipse features:
- Eclipse Modeling Framework 2.5.x (core requirement)
- Graphical Editing Framework (only for domain-specific modeling) 3.2.x
- EMF UML2 3.0.x (for UML2.2 model import)
Installing from the Update site
Installing VIATRA2 from the update site is the easiest way of trying VIATRA2 (and it is the recommended way also). To install VIATRA2 to a vanilla Eclipse Galileo (3.5) installation, follow this procedure:
- Start Eclipse, select Help|Install new software
- On the Update site screen, add a new remote update site: http://static.inf.mit.bme.hu/viatra/update/R3.1
- On the Results screen, select all features from VIATRA
- Finish the installation and restart Eclipse.
Once the procedure is complete, VIATRA2 R3.1 is ready to be used. For basic instructions, see VIATRA2/GettingStarted.
Installing from Subversion
The prerequisites for installing from the Subversion repository are the same as for the binary distribution. Additionally, you'll also need a subversion integration plug-in for Eclipse (we recommend Eclipse Subversive.
Checking out projects
If you intend to use the Subversion repository, you'll have to check out VIATRA2 plugin projects into your Eclipse workspace and run VIATRA2 in a run-time workspace in another Eclipse instance (only recommended for development and debugging). You have to separately ensure that the Eclipse Modeling Framework (EMF) and the UML dependency is installed in your Eclipse environment (refer to Help|Software Updates or Help|Install New Software depending on your version of Eclipse).
There are two SVN repositories of interest:
- VIATRA.INF.MIT.BME.HU mirror: https://svn.inf.mit.bme.hu/viatra/viatra_core/R3 Here you'll find the core components of the VIATRA2 framework such as the model management engine, the transformation interpreter, the VTCL parser, the pattern matcher engines and the user interface components. For historical reasons, useful content is placed in the folder eclipse.org.
The ECLIPSE.ORG repository contains release snapshots of the source tree, while the MIT.BME.HU mirror is the up-to-date development tree.