Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Issues generating model code with Generator
Issues generating model code with Generator [message #692204] Sun, 03 July 2011 21:56
Alain Picard is currently offline Alain PicardFriend
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
Previous Topic:Issues Generating with JavaImporterApplication
Next Topic:Issues Generating with JavaImporterApplication
Goto Forum:
  


Current Time: Thu Apr 25 21:27:32 GMT 2024

Powered by FUDForum. Page generated in 0.02707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top