Skip to main content



      Home
Home » Modeling » ATL » ATL File usging second ATL File and input variable of ATL File
ATL File usging second ATL File and input variable of ATL File [message #1006017] Tue, 29 January 2013 09:59 Go to next message
Eclipse UserFriend
Hello,

I have two differents problems which are :

- I have an ATL Plug-in with my "fileA.atl" and i want to create a second ATL file "fileB.atl" using all rules of the first file ("fileA.atl") with other rules defined in the second file ("fileB.atl"). Is that possible? How can do that ?

- I want to use a java variable (in fact, the input name file without extension) in my ATL file. Is that possible? How can do that?

Thanks in advance for your help.

Best regards,

Nicolas
Re: ATL File usging second ATL File and input variable of ATL File [message #1006066 is a reply to message #1006017] Tue, 29 January 2013 12:15 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

First question: your problem looks like something that could be resolved using Module Superimposition in ATL.

Second question: no that's not possible. However, the common way to provide parameters to a transformation is to add another input model representing them (to do so, you can use the generic XML metamodel as provided by MoDisco for instance).

I hope this helps.

Hugo
Re: ATL File usging second ATL File and input variable of ATL File [message #1006145 is a reply to message #1006066] Wed, 30 January 2013 03:46 Go to previous messageGo to next message
Eclipse UserFriend
Second question :
.eResource().getURI().toString()
on an element from the input model.
Re: ATL File usging second ATL File and input variable of ATL File [message #1006157 is a reply to message #1006066] Wed, 30 January 2013 04:30 Go to previous message
Eclipse UserFriend
Hi,

Thank you for your answer.
This one resolve my problem.

Best regards,

Nicolas
Previous Topic:using resolveTemp y the source patterns
Next Topic:In-place refining mode is now available for EMFTVM
Goto Forum:
  


Current Time: Tue Jul 22 20:17:30 EDT 2025

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

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

Back to the top