Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Does GMF touch the .ecore file?
Does GMF touch the .ecore file? [message #65314] Wed, 18 October 2006 10:20 Go to next message
Eclipse UserFriend
Whenever I create the .gmfgen file (i.e. the GMF generator model) I get
a warning:
------------------
GenModel seems to be stale, would you like to try to reload it?
Resource platform:/resource/<project>/model/<model>.ecore is
newer (Oct 18, 2006) than genmodel (Oct 18, 2006)
....
------------------

I have deleted and recreated (i.e. "derived" via the dashboard) the
..genmodel a couple of times now and the first time after the recreation
there was no such alert, but next time it re-appeared. I haven't changed
anything in the .ecore recently - at least not that I am aware of...

So why keeps GMF alerting me re. that stale .genmodel file???

Is GMF for some reason touching (i.e. updating the date of) the .ecore
file?

Michael
Re: Does GMF touch the .ecore file? [message #65831 is a reply to message #65314] Thu, 19 October 2006 13:28 Go to previous messageGo to next message
Eclipse UserFriend
No, GMF itself doesn't touch .ecore file. The reason for this warning is
that reloading .genmodel touches .ecore (regardless of the fact .ecore is
not changed), and it happens that timestamp for .ecore is later than that of
..genmodel.

There's some naive workaround to deal with such EMF behaviour, but
apparently it's not working for you. Could you please file a bug to get rid
of this message?


Artem


"Michael Moser" <mmo@zurich.ibm.com> wrote in message
news:eh5d7b$m8m$1@utils.eclipse.org...
> Whenever I create the .gmfgen file (i.e. the GMF generator model) I get a
> warning:
> ------------------
> GenModel seems to be stale, would you like to try to reload it?
> Resource platform:/resource/<project>/model/<model>.ecore is
> newer (Oct 18, 2006) than genmodel (Oct 18, 2006)
> ...
> ------------------
>
> I have deleted and recreated (i.e. "derived" via the dashboard) the
> .genmodel a couple of times now and the first time after the recreation
> there was no such alert, but next time it re-appeared. I haven't changed
> anything in the .ecore recently - at least not that I am aware of...
>
> So why keeps GMF alerting me re. that stale .genmodel file???
>
> Is GMF for some reason touching (i.e. updating the date of) the .ecore
> file?
>
> Michael
>
Re: Does GMF touch the .ecore file? [message #65878 is a reply to message #65831] Thu, 19 October 2006 15:57 Go to previous message
Eclipse UserFriend
Done - https://bugs.eclipse.org/bugs/show_bug.cgi?id=161641.

I wasn't sure, whether I should file this against EMF or GMF and against
what component but I have high trust in you folks, that you can figure
that out yourself and redirect it appropriately. :-)

Michael

"Artem Tikhomirov" <artem.tikhomirov@borland.com> wrote in message
news:eh8ccq$blp$1@utils.eclipse.org...
> ...
> There's some naive workaround to deal with such EMF behaviour, but
> apparently it's not working for you. Could you please file a bug to
> get rid of this message?
>
> Artem
Previous Topic:Validation, Dangling Edges and EMF-View
Next Topic:Select diagram layout at runtime ?
Goto Forum:
  


Current Time: Thu May 01 07:09:08 EDT 2025

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

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

Back to the top