|Acceleo not reading metamodels properly [message #1340072]
||Wed, 07 May 2014 19:50
| Phillip Drew
Registered: October 2012
Ok so I have three EMF metamodels which reference each other.|
where B depends on A
and C depends on A and B
All the relevant editors and manual code that interacts with the three models still works fine.
However when trying to run an Acceleo template with C, the Acceleo runtime isn't correctly loading the relevant models A and B.
At runtime the references between objects from metamodel C to objects from metamodel A don't appear to be read because the variables I can see when debugging are just the default values for the object in A's attributes.
At the same time the Acceleo runtime doesn't seem to be reading the metamodel correctly because the attributes visible in the debugger (with their default values) aren't all the attributes present in the actual object - it's not showing inherited attributes at all.
Of course this then leads to various null pointer exceptions etc. in my OCL expressions preventing anything meaningful from being generated.
Powered by FUDForum
. Page generated in 0.01798 seconds