|Re: [Acceleo] How to register other metamodels? [message #509630 is a reply to message #509066]
||Sat, 23 January 2010 19:41
| Anderson Ledo
Registered: July 2009
Thanks for the reply.
Unfortunatelly it didn't work yet.
I may be missing some simple detail.
What I've done...
I created an Acceleo project using the "Acceleo Module Wizard" and reproduced the example you presented. But, it simply gives me the same compilation error mensage "The metamodel couldn't be resolved". I tried a lot of different ways of defining the path, but without success (for instance, I also tried relative and absolute paths that are valid if used inside Java classes in the same project for accessing static files, but they also didn't worked inside the module definition).
What I've asked myself...
Do you know if it depends on any Eclipse configuration detail?
Are you using the same version I am? (mine is 0.8.1) Does it matter somehow?
Have you had the chance to try something similar to the given example? So that a piece of code would be greatly useful...
Well, I hope the explanation and questions above to be clear and helpful.
Again, thanks in advance.
Campina Grande, Brazil
|Re: [Acceleo] How to register other metamodels? [message #509634 is a reply to message #509630]
||Sat, 23 January 2010 21:38
Registered: November 2009
i'm not an expert on Acceleo, but have you tried the steps below?
1) generate the genmodel of the Ecore file
2) generate all files from genmodel
3) run a new Eclipse application
4) on the new workspace, create the Acceleo Project (you already did this)
5) create a New Acceleo Module File; on Metamodel URI, click on 'Browse...', then 'Runtime Version'.. your metamodel should appear now..
i hope it will work..
Powered by FUDForum
. Page generated in 0.02741 seconds