Skip to content

amine-ben/org.eclipse.atl.reactive

 
 

Repository files navigation

org.eclipse.atl.reactive

Reactive engine for the ATL transformation language. In a model-driven application environment it works by activating only the strictly needed computation in response to updates or requests of model elements. Computation is updated when necessary, in an autonomous and optimized way by using incrementality and lazy evaluation.

You can install it by using the update site: http://atlanmod.github.io/org.eclipse.atl.reactive/UpdateSite/

As an alternative, you can clone the repository and follow the instructions below:

##Requirements (IDE set up):

In order to import and compile the source code, and Eclipse IDE with the following Eclipe plugins is required.

  • EMF Eclipse Modeling Framework SDK

  • EMF Compare SDK

  • EMF Model Transactions SDK

In order to Install these plugins, from the eclipse IDE go to: menu Help->Install new software->Modeling and select the afforementioned plugins for installation.

##Installation of ReactiveATL in Eclipse:

-After cloning the ReactiveATL git repository, the plugins in the /plugins folder need to be imported into the active workspace of the previously installed Eclipse IDE. Proceed as follows:

In the workspace, select the package explorer view: RightClick-> Import-> Existing Projects Into Workspace and browse the filesystem to the location of the cloned repository and select the /plugins folder. Finally, select all the plugins containend in the /plugins folder to complete the importation (alternatively, the eclipse GIT perspective can be used to explore the cloned repository and import the plugins).

** You may experience problems with the org.antlr.runtime plugin if you have made the importation using git. . To solve this issue just remove the git imported plugin from the workspace and import it manually (RightClick-> Import-> Existing Projects Into Workspace)

##Testing:

From the previous workspace, launch a new Eclipse Application (runAs->Eclipse Application). A new Eclipse IDE will open. Reactive ATL is ready to be used programatically. In the cloned repository, the /test folder contains a project called org.eclipse.m2m.atl.reactive.test. This project contains a set of programmatic examples demonstrating:

Feature Test File
Lazy computation and incremental propagation (through invalidation) Class2RelationalTest.java
Reactive transformation chain. From ClassDiagram to Relational to XML Class2Relational2XMLTest.java
Higher-order reactivity (modifications to the transformation itself) Class2RelationalHOTTest.java
A transformation producing an infinite output model relationalQuery.java

In order to import these tests, follow the same steps as for importing the reactive ATL plugins. RightClick->Inport->Existing Projects Into Workspace -> go to the /tests folder -> select the plugin org.eclipse.m2m.atl.reactive.test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 49.5%
  • Java 47.5%
  • HTML 2.9%
  • GAP 0.1%
  • XSLT 0.0%
  • CSS 0.0%