Issues generating model code with Generator [message #692204] |
Sun, 03 July 2011 21:56 |
Alain Picard Messages: 266 Registered: July 2009 |
Senior Member |
|
|
Ok now I'm having a few issues with using Generator to generate my model
code programmatically.
1st off, if I submit a worskspace path to the genmodel it converts it to
a location relative to my working directory. So I had to change it to
instead supplied a fully local file system path (i.e.
c:\eclipse\workspace\com.my.project\model\my.genmodel).
Then when running I get a ton of the following warnings:
Problems encountered in the model
Unable to resolve proxy
'file:/C:/eclipse/workspace/com.castortech.iris.emf.ist/model/IST.ecore#//CodeNode'
Its use is by
'file:/C:/eclipse/workspace/com.castortech.iris.emf.language.demo2/model/demo.ecore#//TypeDeclaration'
Its use is by
'file:/C:/eclipse/workspace/com.castortech.iris.emf.language.demo2/model/demo.ecore#//TypeDeclaration/@eGenericSuperTypes.0'
BTW, it is true that the file doesn't exist, as this project is imported
and the physical IST.ecore is in the "original project location".
When using the UI in the workspace, the generation process runs smoothly
without errors or warnings (at least that I am presented with).
What should I do differently?
Thanks
Alain
|
|
|
Powered by
FUDForum. Page generated in 0.02707 seconds