Questions tagged [eclipse-atl]

ATL (ATL Transformation Language) is a model transformation language and toolkit. In the field of Model-Driven Engineering (MDE), ATL provides ways to produce a set of target models from a set of source models.

ATL (ATL Transformation Language) is a model transformation language and toolkit. In the field of Model-Driven Engineering (MDE), ATL provides ways to produce a set of target models from a set of source models.

13 questions
3
votes
2 answers

Transformation Language Text to Model

ATL is a transformation language that allows to make model to model transformations, but I want to know if with this transformation language it's possible to make text to model transformation (already having a defined Ecore metamodel) or I must have…
3
votes
1 answer

Execute code on xtext startup?

I am working on a project where we use ATL to transform one ECore model instance to another. We have an XText editor set up to work with the target model, and would like to load the transformed model directly into the editor when it is…
tdidriksen
  • 31
  • 1
2
votes
0 answers

Escape from a iterate loop (ATL helpers)

Is there a way to escape an iterate loop in helper like break in Java , in my example : helper context activity!Activity def : print(s : String,s1:OrderedSet(String)) : String = s1->iterate(a; acc1 : String = '' | acc1+ …
2
votes
1 answer

Simple ATL transformation - create new classes as children of a certain class

I practice the use of ATL, so I'm trying to do very simple model transformation like below. ATL: module Form2NewForm; create OUT : Form refining IN : Form; -- @path Form=/Form2Form/Form.ecore --parameter helper def : subjectName : String =…
Don
  • 23
  • 4
2
votes
0 answers

Programatic java ATL launch not working

I have a huge problem: I have an ATL transformation that works flawlessly when I use the normal way to do it, using the atl plugin. But when I try to java launch, it cannot find the classes of a model…
Vinicius
  • 57
  • 1
  • 7
2
votes
2 answers

Cannot read module from ATL EMFTVM transformation in Java standalone project

According to the ATL/EMFTVM wiki, ATL/EMFTVM can be run standalone by using ResourceSet moduleRS = new ResourceSetImpl(); moduleRS.getResourceFactoryRegistry().getExtensionToFactoryMap().put(Resource.Factory.Registry.DEFAULT_EXTENSION, new…
WeSt
  • 2,628
  • 5
  • 22
  • 37
1
vote
0 answers

Import and use .uml metamodel in eclipse ATL

I'm currently having trouble using Eclipse ATL. I create two models in Cameo/MagicDraw and export them in UML2 format to Eclipse. My aim is to use ATL to transform instances of the first model in instances of the second model. Unfortunatelly, i…
Kaly
  • 51
  • 3
1
vote
1 answer

simple BPMN ecore metamodel

I'm trying to build my own simple BPMN ecore metamodel by simplifying built one by OMG specification, with little change on dependencies between elements. Here my own metamodel: Would you please give me any guidelines that make sure that my…
elay221
  • 61
  • 8
1
vote
3 answers

UML class diagram metamodel

Where can I find a simplified class diagram metamodel ? It's for a ATL ATLAS Transformation Language project, I need to transform a entity class diagram to SQL database. thank you .
Sams Good
  • 33
  • 1
  • 5
1
vote
1 answer

Invoke ATL model transformation in MWE2

Is it possible to invoke an ATL model transformation within an MWE2 workflow?
Mathias Soeken
  • 1,293
  • 2
  • 8
  • 22
0
votes
1 answer

ATL to EMFTVM compiler

Several approaches intended to run EMFTVM model to model transformations have appeared (see http://modeling-languages.com/executing-atl-transformations-java/). However, all of these deal with EMFTVM transformations. I am in the case in which I have…
AntMor
  • 417
  • 6
  • 18
0
votes
1 answer

ATL transformation rules not matching nested BPMN2 elements

I am writing an ATL translation from BPMN2 to another model. The problem is that the code does not detect any nested element. I have posted the atl code and my input here at: https://github.com/behnaaz/BPMN2ATL.git You can see from the output that…
DrB
  • 264
  • 1
  • 3
  • 14
0
votes
1 answer

ATL transformation - empty output

I'm trying to combine XText with EMF's ATL model to model transformation. I'm reading my DSL, dump it into EMF's XMI resource and put it into the ATL api: ATL does not give me any errors and runs correctly: Number of instructions executed:…
Abubadabu
  • 194
  • 1
  • 9