[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.m2m] Re: [ATL] Merging ATL transformations?

Matthias Bohlen schreef:
Hi all,

I have several small re-usable ATL transformations which I'd like to combine into one large transformation. The combined transformation should have the union of all metamodels in the "create" list and helpers in the "uses" list and the union of all transformation rules.

Hi Matthias,

(This is probably starting to bore you:) you can write several small transformation modules and then superimpose them in any order, provided that there's no rule overlap.

The resulting transformation will be the union of all transformation rules, helpers, input and output models and meta-models. You only need to make sure you provide all the parts in your launch configuration.


Is this possible? Maybe, with an ATL transformation on the ATL metamodel itself, using several ASM files as input and one large ASM file as output?

This approach will probably work as well, but is more difficult to implement ;-). It also creates more compiler overhead, since it requires transforming the affected transformation modules and then recompile them as one single module.



Cheers Matthias Bohlen at andromda.org



--
Regards,
Dennis