Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF] Switch to Indigo, code generation stopped working
[EMF] Switch to Indigo, code generation stopped working [message #721287] Thu, 01 September 2011 10:46 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

I have just switched to Indigo. I had an existing Teneo project and made
a few model additions to my xsd file and reloaded the genmodel. Then I
generated the model code, none of the model changes now visible in the
genmodel and ecore files were generated. I Validated the model and it
passes.

So I went back to the original xsd and reloaded that and generated the
model code from the new genmodel and ecore. It generated only 2 out of
those original 7 classes.

Something changed in Indigo that would affect code generation? Is there
logging of the process of code generation I can see? I do see the names
of the classes missing from the generated code flash past in the
progress dialog.

Thx.

David
Re: [EMF] Switch to Indigo, code generation stopped working [message #721296 is a reply to message #721287] Thu, 01 September 2011 11:26 Go to previous message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
On 01/09/11 11:46, David Wynter wrote:
> Hi,
>
> I have just switched to Indigo. I had an existing Teneo project and made
> a few model additions to my xsd file and reloaded the genmodel. Then I
> generated the model code, none of the model changes now visible in the
> genmodel and ecore files were generated. I Validated the model and it
> passes.
>
> So I went back to the original xsd and reloaded that and generated the
> model code from the new genmodel and ecore. It generated only 2 out of
> those original 7 classes.
>
> Something changed in Indigo that would affect code generation? Is there
> logging of the process of code generation I can see? I do see the names
> of the classes missing from the generated code flash past in the
> progress dialog.
>
> Thx.
>
> David
Ha,

Caught out by a separate step. I discover that when you refactor the
name of a project it does not touch the genmodel file which has
internally the directory of the old project name, so the code is
generated into the old directory structure. I have no idea why 2 of my
classes ended up in the new directory structure under the new project name.

Thx.

David
Previous Topic:[CDO] how to use Blob and Clob
Next Topic:[CDO] : Authentification and userID
Goto Forum:
  


Current Time: Fri Apr 26 14:44:53 GMT 2024

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

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

Back to the top