Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Run transformation sequence with HOT programmatically(The output of the HOT is an ATL model, but I need the .asm file of it for the next step. How to get it ?)
[ATL] Run transformation sequence with HOT programmatically [message #636429] Mon, 01 November 2010 09:22 Go to next message
Marten Sijtema is currently offline Marten SijtemaFriend
Messages: 67
Registered: November 2009
Member
Hello,

I have a transformation sequence, schematically:

FATL model, conforming to FATL metamodel (i have injector for this)
FATL-2-ATL.atl, a HOT that transforms FATL models into ATL models.

So when I run the FATL-2-ATL transformation, the output is an ATL model. I want to use this model in my next step of the transformation sequence as the transformation.

How do I do this programmatically AND Eclipse-independent. If this is not possible, I could drop the Eclipse independent requirement, but I really fancy integrating the Transformation sequence in my web-application...

Regards,

Marten


My company: Sytematic, building business software from models.
Re: [ATL] Run transformation sequence with HOT programmatically [message #636617 is a reply to message #636429] Tue, 02 November 2010 09:08 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
In ant :
<atl.saveModel model="myATL" path="{file}.atl">
	<extractor name="ATL" />
</atl.saveModel>
Re: [ATL] Run transformation sequence with HOT programmatically [message #636676 is a reply to message #636617] Tue, 02 November 2010 12:54 Go to previous message
Marten Sijtema is currently offline Marten SijtemaFriend
Messages: 67
Registered: November 2009
Member
Thanks, that works like a charm.



My company: Sytematic, building business software from models.
Previous Topic:[ATL] metamodel element direct copy source to target
Next Topic:resolveTemp's parameters are reversed after extraction to .atl
Goto Forum:
  


Current Time: Mon Jun 24 10:48:22 GMT 2019

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

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

Back to the top