Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] MWE2 component
[ATL] MWE2 component [message #728919] Sat, 24 September 2011 07:19 Go to next message
aoyou2002 is currently offline aoyou2002
Messages: 4
Registered: September 2011
Junior Member
Hello,

I'm using MWE2 to generate code with the XPand2 component. I would like to use ATL to do M2M transformations but I can't find any way to call the ATL transformation within a MWE workflow. It was possible with OAW. See t45_atlExample.pdf (www.openarchitectureware.org/pub/documentation/4.0/t45_atlExample.pdf)

Is it still possible ?

Regards,

aoyou
Re: [ATL] MWE2 component [message #728931 is a reply to message #728919] Sat, 24 September 2011 08:21 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4014
Registered: July 2009
Senior Member
Hi

Yes. Look at

http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/tree/examples/org.eclipse.ocl.examples.build/src/org/eclipse/ocl/examples/build/GenerateXtextVisitors.mwe2

Regards

Ed Willink


On 24/09/2011 12:19, aoyou2002 wrote:
> Hello,
>
> I'm using MWE2 to generate code with the XPand2 component. I would
> like to use ATL to do M2M transformations but I can't find any way to
> call the ATL transformation within a MWE workflow. It was possible
> with OAW. See t45_atlExample.pdf
> (www.openarchitectureware.org/pub/documentation/4.0/t45_atlExample.pdf)
>
> Is it still possible ?
>
> Regards,
>
> aoyou
Re: [ATL] MWE2 component [message #728943 is a reply to message #728931] Sat, 24 September 2011 08:51 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4014
Registered: July 2009
Senior Member
Hi

Apologies. Brain not in gear. My response was for invoking Acceleo not
ATL. But similar principles may be helpful.

Regards

Ed Willink


On 24/09/2011 13:21, Ed Willink wrote:
> Hi
>
> Yes. Look at
>
> http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/tree/examples/org.eclipse.ocl.examples.build/src/org/eclipse/ocl/examples/build/GenerateXtextVisitors.mwe2
>
>
> Regards
>
> Ed Willink
>
>
> On 24/09/2011 12:19, aoyou2002 wrote:
>> Hello,
>>
>> I'm using MWE2 to generate code with the XPand2 component. I would
>> like to use ATL to do M2M transformations but I can't find any way to
>> call the ATL transformation within a MWE workflow. It was possible
>> with OAW. See t45_atlExample.pdf
>> (www.openarchitectureware.org/pub/documentation/4.0/t45_atlExample.pdf)
>>
>> Is it still possible ?
>>
>> Regards,
>>
>> aoyou
>
Previous Topic:[QVTO] Accessing Java class members from transformations
Next Topic:[ATL] Iterating over collections
Goto Forum:
  


Current Time: Fri Aug 01 18:37:57 EDT 2014

Powered by FUDForum. Page generated in 0.03329 seconds