Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF: Creating Children You Didn't Know Existed
EMF: Creating Children You Didn't Know Existed [message #891650] Mon, 25 June 2012 12:07 Go to next message
Morten MacFly is currently offline Morten MacFlyFriend
Messages: 69
Registered: July 2009
Member
Hi all,

I found this (old) article:
http://ed-merks.blogspot.de/2008/01/creating-children-you-didnt-know.html
....and that's what I am looking for. Unfortunately I didn't get it to
work - even not after re-creaing plugin.xml as suggested in the comments.

Does anbyone use such a concept and can point me to a (working) example,
please?
Re: EMF: Creating Children You Didn't Know Existed [message #891720 is a reply to message #891650] Mon, 25 June 2012 15:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30366
Registered: July 2009
Senior Member
Morten,

A great many people have gotten this to work well, even recently. Notice
it's the plugin.xml for both *.edit projects that needs to be regenerated...

On 25/06/2012 2:07 PM, Morten MacFly wrote:
> Hi all,
>
> I found this (old) article:
> http://ed-merks.blogspot.de/2008/01/creating-children-you-didnt-know.html
> ...and that's what I am looking for. Unfortunately I didn't get it to
> work - even not after re-creaing plugin.xml as suggested in the comments.
>
> Does anbyone use such a concept and can point me to a (working) example,
> please?
Re: EMF: Creating Children You Didn't Know Existed [message #891807 is a reply to message #891720] Tue, 26 June 2012 05:40 Go to previous messageGo to next message
Morten MacFly is currently offline Morten MacFlyFriend
Messages: 69
Registered: July 2009
Member
On 25.06.2012 17:36, Ed Merks wrote:
> Notice it's the plugin.xml for both *.edit projects
> that needs to be regenerated...
Dammed, that was it.

BTW: This is something I stumple upon over and over again: When you
create sources into the same project that come out of more than one
Ecore model the plugin.xml, manifest.mf and other resource files are not
being updated (i.e. also not the extension points). It seems only the
first generated model "wins", the others you have to do by hand. Is
there (maybe) a more conveneient way of having those files updated all
the time?
Re: EMF: Creating Children You Didn't Know Existed [message #891811 is a reply to message #891807] Tue, 26 June 2012 06:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30366
Registered: July 2009
Senior Member
Morten,

If only I would support merging for these resources. So much to do and
so few people to do it...

If you have multiple models targeting the same bundles, you should still
keep one GenModel for all of them.


On 26/06/2012 7:40 AM, Morten MacFly wrote:
> On 25.06.2012 17:36, Ed Merks wrote:
>> Notice it's the plugin.xml for both *.edit projects
>> that needs to be regenerated...
> Dammed, that was it.
>
> BTW: This is something I stumple upon over and over again: When you
> create sources into the same project that come out of more than one
> Ecore model the plugin.xml, manifest.mf and other resource files are not
> being updated (i.e. also not the extension points). It seems only the
> first generated model "wins", the others you have to do by hand. Is
> there (maybe) a more conveneient way of having those files updated all
> the time?
Previous Topic:Compatible EMF version for Eclipse 3.7.2 Indigo
Next Topic:Read-only resource in resourceset
Goto Forum:
  


Current Time: Thu Aug 22 23:05:55 GMT 2019

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

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

Back to the top