|[Acceleo 3] recursive import not supported [message #649287]
||Tue, 18 January 2011 10:39
| Christophe Demarey
Registered: November 2010
I face problems with the import directive. It doesn't import templates recursively, and so the generation output is not the one expected.
I created a small project to explain that (importbug.zip). There is a basic metamodel, an instance of it and 3 templates.
A concept named 'container' holds references to A concepts. AA and AB concepts inherits from A.
The main template (generate) calls the genA template on A elements hold in the container. The genA template is defined in generateA.mtl. Specializations of the genA template are defined in generateAA.mtl. generate.mtl imports generateA.mtl importing generateAA.mtl itself.
The expected result for the given model (container.xmi) is:
but I got
It seems like a bug (or a missing feature), right?
Powered by FUDForum
. Page generated in 0.15316 seconds