5 CONCLUSION AND FUTURE
WORK
Higher-order transformations have just recently been
addressed in model-driven software development
(Tisi et al., 2010). As a consequence, there is no
sufficient tool support available at the moment. In
our paper, we presented a novel approach to bridge
this gap by a two-step meta-code generation approach
which enables the specification of a higher-order en-
dogenous model transformation that is independent
from the concrete metamodel. Only at runtime, ATL
code is generated for the specific metamodel using an
Acceleo template, and the resulting first-order ATL
transformation is then performed on corresponding
model instances.
We applied our approach to the problem of prod-
uct derivation in model-driven software product lines,
where we could successfully test its correctness by
comparing results to the existing, Java-based solution.
The meta-transformation code we had to write is sig-
nificantly more declarative. Furthermore, the Acceleo
template comprises 124 lines of code, which is about
a third of the original Java source code (370 lines).
For future work, we plan to transfer our approach
to another research project which is dedicated to
three-way merging of models (Westfechtel, 2012) and
has a problem definition similar to the one described
in this paper. The algorithm allows merging of arbi-
trary Ecore model instances. The main differences
are that first, the result is not only obtained by a
conditional copy of one, but three input models, and
second, filtering of artifacts is replaced by dedicated
merge rules.
ACKNOWLEDGEMENTS
The authors want to thank Bernhard Westfechtel for
his valuable comments on the draft of this paper.
REFERENCES
Arendt, T., Biermann, E., Jurack, S., Krause, C., and
Taentzer, G. (2010). Henshin: Advanced concepts
and tools for in-place emf model transformations. In
Proceedings of the 13th International Conference on
Model Driven Engineering Languages and Systems
(MoDELS 2010), LNCS 6394, pages 121–135, Oslo,
Norway.
Biermann, E., Ermel, C., and Jurack, S. (2010). Modeling
the ”Ecore to GenModel” transformation with EMF
Henshin. In Mazanek, S., Rensink, A., and Gorp,
P. V., editors, Proc. Transformation Tool Contest 2010
(TTC’10).
Botterweck, G., Polzer, A., and Kowalewski, S. (2009).
Using higher-order transformations to derive variabil-
ity mechanism for embedded systems. In Ghosh, S.,
editor, MoDELS Workshops, volume 6002 of Lecture
Notes in Computer Science, pages 68–82. Springer.
Buchmann, T. and Schw
¨
agerl, F. (2012). Ensuring well-
formedness of configured domain models in model-
driven product lines based on negative variability. In
Proceedings of the 4th International Workshop on
Feature-Oriented Software Development, FOSD ’12,
pages 37–44, New York, NY, USA. ACM.
Buchmann, T. and Schw
¨
agerl, F. (2012). FAMILE: tool
support for evolving model-driven product lines. In
St
¨
orrle, H., Botterweck, G., Bourdells, M., Kolovos,
D., Paige, R., Roubtsova, E., Rubin, J., and Tolvanen,
J.-P., editors, Joint Proceedings of co-located Events
at the 8th European Conference on Modelling Foun-
dations and Applications, CEUR WS, pages 59–62,
Building 321, DK-2800 Kongens Lyngby. Technical
University of Denmark (DTU).
Clements, P. and Northrop, L. (2001). Software Product
Lines: Practices and Patterns. Boston, MA.
Czarnecki, K. and Helsen, S. (2006). Feature-based sur-
vey of model transformation approaches. IBM Sys-
tems Journal, 45(3):621–645.
Jouault, F., Allilaire, F., B
´
ezivin, J., and Kurtev, I. (2008).
ATL: A model transformation tool. Science of Com-
puter Programming, 72:31–39. Special Issue on Ex-
perimental Software and Toolkits (EST).
Kang, K. C., Cohen, S. G., Hess, J. A., Novak, W. E.,
and Peterson, A. S. (1990). Feature-oriented do-
main analysis (FODA) feasibility study. Technical Re-
port CMU/SEI-90-TR-21, Carnegie-Mellon Univer-
sity, Software Engineering Institute.
Mens, T. and van Gorp, P. (2006). A taxonomy of model
transformation. Electr. Notes Theor. Comput. Sci.,
152:125–142.
Oldevik, J. and Haugen, Ø. (2007). Higher-order transfor-
mations for product lines. In SPLC, pages 243–254.
IEEE Computer Society.
OMG (2008). MOF Model to Text Transformation
Language, Version 1.0. OMG, Needham, MA,
formal/2008-01 edition.
OMG (2011). Meta Object Facility (MOF) 2.0
Query/View/Transformation, v1.1. Object Manage-
ment Group, Needham, MA, formal/2011-01-01 edi-
tion.
Tisi, M., Cabot, J., and Jouault, F. (2010). Improving
higher-order transformations support in ATL. In Tratt,
L. and Gogolla, M., editors, ICMT, volume 6142 of
Lecture Notes in Computer Science, pages 215–229.
Springer.
Tisi, M., Jouault, F., Fraternali, P., Ceri, S., and B
´
ezivin, J.
(2009). On the use of higher-order model transforma-
tions. In Paige, R. F., Hartman, A., and Rensink, A.,
editors, ECMDA-FA, volume 5562 of Lecture Notes in
Computer Science, pages 18–33. Springer.
Westfechtel, B. (2012). Merging of EMF models - formal
foundations. Software and Systems Modeling. Online
First.
UsingMeta-codeGenerationtoRealizeHigher-orderModelTransformations
541