Skip to content

An object-oriented gradle-based project ready to run ATL/EMFVM transformations

License

Notifications You must be signed in to change notification settings

jachinte/atl-gradle-example

 
 

Repository files navigation

ATL gradle example

An object-oriented gradle-based ATL launcher based on Victor Guana's ATL Launcher.

Run the example

gradle run

Code

This is how to run a transformation:

final Map<String, Model> result = new AtlTransformation.Builder()
	.withMetamodel("Simple", "metamodels/Simple.ecore")
	.withMetamodel("Composed", "metamodels/Composed.ecore")
	// There can be several inputs and outputs
	.withModel(ModelType.INPUT, "IN", "models/composed.xmi")
	.withModel(ModelType.OUTPUT, "OUT", "models/simple.xmi")
	.withTransformation("transformations/Composed2Simple.atl")
	.build()
	.run();

Read methods in class AtlTransformation.Builder for more options.

About

An object-oriented gradle-based project ready to run ATL/EMFVM transformations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%