Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » transform .atl file to .java file(transform an atl model into java code)
transform .atl file to .java file [message #1834963] Sun, 22 November 2020 14:39 Go to next message
nour nour is currently offline nour nourFriend
Messages: 19
Registered: April 2020
Junior Member
Hello everyone,

I have an ATL model, which transforms a source model into a target model.
I want to deploy this as a service on the cloud.
For research purposes, I needed a cloud simulator, so I downloaded cloudSim, which requires a java file to execute the simulation.
My questions are:
How can I possibly transform my .atl model to a .java file.?

I found an ATLauncher on the following website, which executes atl transformations as java programs, however, i don't quite understand its functionality, or if it does exactly what I am asking for, would you please help me figure that out?
https://github.com/guana/ATLauncher
Re: transform .atl file to .java file [message #1834969 is a reply to message #1834963] Sun, 22 November 2020 15:13 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 581
Registered: September 2012
Location: Belgium
Senior Member

ATL uses a virtual machine written in Java to run either .asm or .emftvm bytecode files. If you're writing new ATL code, I recommend you go with EMFTVM as your virtual machine.

Under normal circumstances, you'll run ATL within an Eclipse IDE environment. To run ATL outside Eclipse, you'll need the ATL standalone binary. Your best bet is to use this standalone binary from a Maven project, such that all dependencies are added automatically.

Once you've got your ATL/EMFTVM runtime all set up, you can use the ATLauncher code as a template to execute your .emftvm transformation of choice.


Cheers,
Dennis
Previous Topic:One model to many with composations ?
Next Topic:counting the number of occurences ofan eReference in an ATL transformation
Goto Forum:
  


Current Time: Sat Nov 11 08:17:58 GMT 2023

Powered by FUDForum. Page generated in 0.01935 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top